Arabic (Original)
حَدَّثَنَا حَسَنٌ حَدَّثَنَا عَبْدُ اللَّهِ بْنُ لَهِيعَةَ حَدَّثَنَا أَبُو صَخْرٍ عَنِ الْمَقْبُرِيِّ عَنْ أَبِي هُرَيْرَةَ عَنْ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ مَنْ دَخَلَ مَسْجِدَنَا هَذَا لِيَتَعَلَّمَ خَيْرًا أَوْ لِيُعَلِّمَهُ كَانَ كَالْمُجَاهِدِ فِي سَبِيلِ اللَّهِ وَمَنْ دَخَلَهُ لِغَيْرِ ذَلِكَ كَانَ كَالنَّاظِرِ إِلَى مَا لَيْسَ لَهُ.
English Translation
The Messenger of Allah (peace be upon him) said: "Whoever enters this mosque of ours to learn good or teach it is like one performing jihad in the path of Allah. And whoever enters it for any other purpose is like one looking at what does not belong to him."
