The Book of Knowledge
Riyad as-Salihin #705
كتاب العلم
وعنه قال: سمعت رسول الله صلى الله عليه وسلم يقول: «الدنيا ملعونة ملعون ما فيها إلا ذكر الله تعالى، وما والاه، وعالمًا أو متعلمًا» ((رواه الترمذي وقال: حديث حسن. )). (2)
Abu Hurairah (May Allah be pleased with him) reported:
The Messenger of Allah (ﷺ) said, “The world, with all that it contains, is accursed except for the remembrance of Allah that which pleases Allah; and the religious scholars and seekers of knowledge.”.
وعنه قال: سمعت رسول الله صلى الله عليه وسلم يقول: "الدنيا ملعونة ملعون ما فيها إلا ذكر الله تعالى، وما والاه، وعالمًا أو متعلمًا" ((رواه الترمذي وقال: حديث حسن. )). (2)
The Messenger of Allah (ﷺ) said, "The world, with all that it contains, is accursed except for the remembrance of Allah that which pleases Allah; and the religious scholars and seekers of knowledge.".
— Riyad as-Salihin, Hadith 705