Abu Hurairah reported,

He heard the Messenger of Allah ﷺ say, "Whoever enters this mosque of ours to learn something good or to teach it is like a warrior striving in the path of Allah, and whoever enters it for any other purpose is like one gazing at something that does not belong to him."

Ahmad 10814

Daif

حدثنا عبد الله بن يزيد حدثنا حيوة أخبرني أبو صخر أن سعد بن أبي سعيد المقبري أخبره أنه

سمع أبا هريرة يقول

إنه سمع رسول الله ﷺ يقول من دخل مسجدنا هذا يتعلم خيرا أو يعلمه كان كالمجاهد في سبيل الله ومن دخله لغير ذلك كان كالناظر إلى ما ليس له

أحمد 10814ضعيف
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abu Hurairah
Numbering
Darussalam 10814
Ahmad 10814