The Book of Knowledge
Riyad as-Salihin #706
كتاب العلم
وعن أنس رضي الله عنه قال: قال رسول الله صلى الله عليه وسلم: «من خرج في طلب العلم، فهو في سبيل الله حتى يرجع» رواه الترمذي وقال: حديث حسن.
Anas (May Allah be pleased with him) reported:
The Messenger of Allah (ﷺ) said, “He who goes forth in search of knowledge is considered as struggling in the Cause of Allah until he returns.”.
وعن أنس رضي الله عنه قال: قال رسول الله صلى الله عليه وسلم : "من خرج في طلب العلم، فهو في سبيل الله حتى يرجع" رواه الترمذي وقال: حديث حسن.
The Messenger of Allah (ﷺ) said, "He who goes forth in search of knowledge is considered as struggling in the Cause of Allah until he returns.".
— Riyad as-Salihin, Hadith 706