Riyad as-Salihin 353: On Honouring the Learned and the Great
Abdullah ibn Mas‘ud relates that the Holy Prophet said: Let those be nearest to me in Prayer who are of age and possessed of understanding, then those who are closest to them in these respects (he repeated this three times) and added: Beware of indulging in the nonsense of the streets when you are in the mosque (Muslim).
وعن عبد الله بن مسعود رضي الله عنه قال: قال رسول الله صلى الله عليه وسلم: "ليلني منكم أولو الأحلام والنهى، ثم الذين يلونهم" ثلاثًا "وإياكم وهيشات الأسوق" ((رواه مسلم)).
10 of 10 left today