The Book of the Sunnah · Sunan Ibn Majah

Sunan Ibn Majah, hadith 227

Narrated by Abu Hurairah. Arabic text with our own translation and explanation.

Sahih (authentic)Book: The Book of the Sunnah
سنن ابن ماجه
Who narrated it?

From Ibn Majah back to the Prophet ﷺ

Sahih (authentic)
  1. 1Abu Bakr ibn Abu Shaybanarrated it to Ibn Majahأَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ
  2. 2Hatim ibn Isma'ilحَاتِمُ بْنُ إِسْمَاعِيلَ
  3. 3Humayd ibn Sakhrحُمَيْدِ بْنِ صَخْرٍ
  4. 4Al‑Maqburiالْمَقْبُرِيِّ
  5. 5Abu Hurayraأَبِي هُرَيْرَةَ
  6. 6The Messenger of Allah ﷺرَسُولُ اللَّهِ ﷺ

Order as it appears in the Arabic text of this narration. The names have been transliterated from Arabic into Latin script.

The narration

Arabic text

حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا حَاتِمُ بْنُ إِسْمَاعِيلَ، عَنْ حُمَيْدِ بْنِ صَخْرٍ، عَنِ الْمَقْبُرِيِّ، عَنْ أَبِي هُرَيْرَةَ، قَالَ سَمِعْتُ رَسُولَ اللَّهِ ـ صلى الله عليه وسلم ـ يَقُولُ ‏ "‏ مَنْ جَاءَ مَسْجِدِي هَذَا لَمْ يَأْتِهِ إِلاَّ لِخَيْرٍ يَتَعَلَّمُهُ أَوْ يُعَلِّمُهُ فَهُوَ بِمَنْزِلَةِ الْمُجَاهِدِ فِي سَبِيلِ اللَّهِ وَمَنْ جَاءَ لِغَيْرِ ذَلِكَ فَهُوَ بِمَنْزِلَةِ الرَّجُلِ يَنْظُرُ إِلَى مَتَاعِ غَيْرِهِ ‏"‏ ‏.‏

Translation

The translation in this language is coming soon; the explanation is provided below.

Translation and explanation by Khutba World, translated from Arabic.

Core message

Whoever visits the Prophet’s ﷺ Mosque to learn or teach receives a great reward.

Key terms explained
this mosque of mine

This refers to the Mosque of the Prophet ﷺ in Medina.

in the way of Allah

An expression for striving in obedience to Allah and promoting good.

another person’s belongings

A comparison for someone who is present without the good purpose of learning or teaching.

Scholarly insights

Scholars infer from this that sincerely seeking and teaching knowledge is a particularly virtuous deed. The comparison with a fighter emphasizes the great reward, but does not equate the two deeds in every situation. The wording specifically praises visiting the Mosque of the Prophet ﷺ; the broader principle of acquiring knowledge also applies elsewhere. The contrast warns that being present without a good purpose does not bring the special virtue of seeking knowledge.

Lessons for today
  1. Before going to the mosque, decide what good purpose you intend to serve, such as learning, teaching, or worship.
  2. Share knowledge carefully and with the intention of bringing others closer to good.
  3. Do not turn a mosque visit into an opportunity to concern yourself with other people’s affairs.
الْحَدِيثُ الشَّرِيفُ

A hadith every day, in your language

The app gives you a hadith with an explanation every day, also as a widget on your phone. Free to use.