[Machine] The Messenger of Allah ﷺ heard saying: "Whoever enters our mosque to learn or teach something good, he is like a warrior in the cause of Allah, and whoever enters it for any other reason, he is like someone who looks at what does not belong to him."
سَمِعَ رَسُولَ اللَّهِ ﷺ يَقُولُ «مَنْ دَخَلَ مَسْجِدَنَا هَذَا لِيَتَعَلَّمَ خَيْرًا أَوْ يُعَلِّمَهُ كَانَ كَالْمُجَاهِدِ فِي سَبِيلِ اللَّهِ وَمَنْ دَخَلَهُ بِغَيْرِ ذَلِكَ كَانَ كَالنَّاظِرِ إِلَى مَا لَيْسَ لَهُ»