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."
(Riyad as-Salihin 1385, Book 12, Hadith 10)
(Riyad as-Salihin 1385, Book 12, Hadith 10)