REMEMBRANCE AND KNOWLEDGE H 1413 "The world is cursed and so is all that is in it except the remembrance of Allah, the High and that which is near to it, and the learned person and the student." R 1413 Tirmidhi with a chain up to Abu Hurairah who related that the Messenger of Allah, praise and peace be upon him, said this.
1384- وعنه ، قَالَ : سَمِعْتُ رسول الله صلى الله عليه وآله وسلم يقول : "الدُّنْيَا مَلْعُونَةٌ ، مَلْعُونٌ مَا فِيهَا ، إِلاَّ ذِكْرَ الله تَعَالَى ، وَمَا وَالاهُ ، وَعَالِماً ، أَوْ مُتَعَلِّماً" . رواه الترمذي ، وقال : "حديث حسن" . قَوْله : "وَمَا وَالاَهُ" : أيْ طَاعة الله .