Showing 1-100 of 1411
Mishkat al-Masabih 752
Anas b. Malik reported God’s Messenger as saying, “A man’s prayer in his house is equivalent to a single observance of prayer, his prayer in a tribal mosque is equivalent to twenty-five, his prayer in a mosque in which the Friday prayer is observed is equivalent to five hundred, his prayer in the Aqsa mosque is equivalent to fifty thousand, his prayer in my mosque is equivalent to fifty thousand, and his prayer in the sacred mosque (the Ka’ba) is equivalent to a hundred thousand.” Ibn Majah transmitted it.
وَعَنْ أَنَسِ بْنِ مَالِكٍ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «صَلَاةُ الرَّجُلِ فِي بَيْتِهِ بِصَلَاةٍ وَصَلَاتُهُ فِي مَسْجِدِ الْقَبَائِلِ بِخَمْسٍ وَعِشْرِينَ صَلَاةً وَصَلَاتُهُ فِي الْمَسْجِدِ الَّذِي يجمع فِيهِ بخسمائة صَلَاةٍ وَصَلَاتُهُ فِي الْمَسْجِدِ الْأَقْصَى بِخَمْسِينَ أَلْفِ صَلَاةٍ وَصَلَاتُهُ فِي مَسْجِدِي بِخَمْسِينَ أَلْفِ صَلَاةٍ وَصلَاته فِي الْمَسْجِد الْحَرَام بِمِائَة ألف صَلَاة» . رَوَاهُ ابْن مَاجَه
  ضَعِيف   (الألباني) حكم   :
Reference : Mishkat al-Masabih 752
In-book reference : Book 4, Hadith 180
Mishkat al-Masabih 753
Abu Dharr said that he asked God’s Messenger which mosque was set up first in the earth and was told that it was the sacred mosque. He asked which came next and was told that it was the Aqsa mosque. He asked how long a space of time separated their building and the Prophet told him it was forty years, adding, “Then the earth is a mosque for you, so pray wherever you are at the time of prayer.” (Bukhari and Muslim.)
وَعَنْ أَبِي ذَرٍّ قَالَ: قُلْتُ: يَا رَسُولَ اللَّهِ أَيُّ مَسْجِدٍ وُضِعَ فِي الْأَرْضِ أَوَّلُ؟ قَالَ: «الْمَسْجِدُ الْحَرَامُ» قَالَ: قُلْتُ: ثُمَّ أَيْ؟ قَالَ: «ثُمَّ الْمَسْجِدُ الْأَقْصَى» . قُلْتُ: كَمْ بَيْنَهُمَا؟ قَالَ: «أَرْبَعُونَ عَامًا ثُمَّ الْأَرْضُ لَكَ مَسْجِدٌ فَحَيْثُمَا أَدْرَكَتْكَ الصَّلَاةُ فصل»
  مُتَّفق عَلَيْهِ   (الألباني) حكم   :
Reference : Mishkat al-Masabih 753
In-book reference : Book 4, Hadith 181
Mishkat al-Masabih 693
Abu Sa'id al-Khudri reported God’s Messenger as saying, “Animals are saddled only for prayer in the three mosques:
the sacred mosque, the Aqsa mosque, and this mosque of mine.”* * These are the only mosques to which long journeys may be made purely for the purpose of praying in them. The sacred mosque means the Ka'ba. (Bukhari and Muslim.)
وَعَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: " لَا تُشَدُّ الرِّحَالُ إِلَّا إِلَى ثَلَاثَةِ مَسَاجِدَ: مَسْجِدِ الْحَرَامِ وَالْمَسْجِدِ الْأَقْصَى وَمَسْجِدِي هَذَا "
  مُتَّفَقٌ عَلَيْهِ   (الألباني) حكم   :
Reference : Mishkat al-Masabih 693
In-book reference : Book 4, Hadith 124
Bulugh al-Maram 779
Ibn Az-Zubair (RAA) narrated that the Messenger of Allah (P.B.U.H.) said, "Offering prayer in my mosque (in Madinah) is better than one thousand prayers elsewhere, save for those offered prayer in al-Masjid al-Haram (in Makkah). And prayer offered in al-Masjid al-Haram is better than prayer offered in my mosque by one hundred prayers." Related by Ahmad and Ibn Hibban graded it as Sahih.
وَعَنِ اِبْنِ اَلزُّبَيْرِ رَضِيَ اَللَّهُ عَنْهُمَا قَالَ: قَالَ رَسُولُ اَللَّهِ ‏- صلى الله عليه وسلم ‏-{ صَلَاةٌ فِي مَسْجِدِي هَذَا أَفْضَلُ مِنْ أَلْفِ صَلَاةٍ فِيمَا سِوَاهُ إِلَّا اَلْمَسْجِدَ اَلْحَرَامَ , وَصَلَاةٌ فِي اَلْمَسْجِدِ اَلْحَرَامِ أَفْضَلُ مِنْ صَلَاةٍ فِي مَسْجِدِي بِمِائَةِ صَلَاةٍ } رَوَاهُ أَحْمَدُ, وَصَحَّحَهُ اِبْنُ حِبَّانَ 1‏ .‏
Reference : Bulugh al-Maram 779
In-book reference : Book 6, Hadith 71
English translation : Book 6, Hadith 798
Sahih al-Bukhari 485
See translation for hadith 484 above
وَأَنَّ عَبْدَ اللَّهِ بْنَ عُمَرَ حَدَّثَهُ أَنَّ النَّبِيَّ صلى الله عليه وسلم صَلَّى حَيْثُ الْمَسْجِدُ الصَّغِيرُ الَّذِي دُونَ الْمَسْجِدِ الَّذِي بِشَرَفِ الرَّوْحَاءِ، وَقَدْ كَانَ عَبْدُ اللَّهِ يَعْلَمُ الْمَكَانَ الَّذِي كَانَ صَلَّى فِيهِ النَّبِيُّ صلى الله عليه وسلم يَقُولُ ثَمَّ عَنْ يَمِينِكَ حِينَ تَقُومُ فِي الْمَسْجِدِ تُصَلِّي، وَذَلِكَ الْمَسْجِدُ عَلَى حَافَةِ الطَّرِيقِ الْيُمْنَى، وَأَنْتَ ذَاهِبٌ إِلَى مَكَّةَ، بَيْنَهُ وَبَيْنَ الْمَسْجِدِ الأَكْبَرِ رَمْيَةٌ بِحَجَرٍ أَوْ نَحْوُ ذَلِكَ‏.‏
Reference : Sahih al-Bukhari 485
In-book reference : Book 8, Hadith 132
USC-MSA web (English) reference : Vol. 1, Book 8, Hadith 471
  (deprecated numbering scheme)
Sunan Ibn Majah 1413
It was narrated that Anas bin Malik said:
“The Messenger of Allah (saw) said: ‘A man’s prayer in his house is equal (in reward) to one prayer; his prayer in the mosque of the tribes is equal to twenty-five prayers; his prayer in the mosque in which Friday prayer is offered is equal to five-hundred prayers; his prayer in Aqsa Mosque is equal to fifty thousand prayers; his prayer in my mosque is equal to fifty thousand prayers; and his prayer in the Sacred Mosque is equal to one hundred thousand prayers.”
حَدَّثَنَا هِشَامُ بْنُ عَمَّارٍ، حَدَّثَنَا أَبُو الْخَطَّابِ الدِّمَشْقِيُّ، حَدَّثَنَا رُزَيْقٌ أَبُو عَبْدِ اللَّهِ الأَلْهَانِيُّ، عَنْ أَنَسِ بْنِ مَالِكٍ، قَالَ قَالَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ ‏ "‏ صَلاَةُ الرَّجُلِ فِي بَيْتِهِ بِصَلاَةٍ وَصَلاَتُهُ فِي مَسْجِدِ الْقَبَائِلِ بِخَمْسٍ وَعِشْرِينَ صَلاَةً وَصَلاَتُهُ فِي الْمَسْجِدِ الَّذِي يُجَمَّعُ فِيهِ بِخَمْسِمِائَةِ صَلاَةٍ وَصَلاَةٌ فِي الْمَسْجِدِ الأَقْصَى بِخَمْسِينَ أَلْفِ صَلاَةٍ وَصَلاَةٌ فِي مَسْجِدِي بِخَمْسِينَ أَلْفِ صَلاَةٍ وَصَلاَةٌ فِي الْمَسْجِدِ الْحَرَامِ بِمِائَةِ أَلْفِ صَلاَةٍ ‏"‏ ‏.‏
Grade: Da’if (Darussalam)
Reference : Sunan Ibn Majah 1413
In-book reference : Book 5, Hadith 611
English translation : Vol. 1, Book 5, Hadith 1413
Abu Sa 'id AI-Khudri (RAA) narrated that The Messenger of Allah (P.B.U.H.) said, “One should not undertake journeys except to three mosques:
al-Masque al-Haram (in Makkah ), the Aqsa mosque, or this mosque (in Madinah)." Agreed upon.
وَعَنْ أَبِي سَعِيدٍ اَلْخُدْرِيِّ ‏- رضى الله عنه ‏- قَالَ: قَالَ رَسُولُ اَللَّهِ ‏- صلى الله عليه وسلم ‏-: { لَا تُشَدُّ اَلرِّحَالُ إِلَّا إِلَى ثَلَاثَةِ مَسَاجِدَ: اَلْمَسْجِدِ اَلْحَرَامِ, وَمَسْجِدِي هَذَا, وَالْمَسْجِدِ اَلْأَقْصَى } مُتَّفَقٌ عَلَيْهِ 1‏ .‏
Sunnah.com reference : Book 5, Hadith 58
English translation : Book 5, Hadith 727
Arabic reference : Book 5, Hadith 707
Bulugh al-Maram 1395
Narrated Abu Sa'id al-Khudri (RA):
The Prophet (SAW) said, "No (religious) journey is to be undertaken except to (pray in) the three mosques: The Sacred Mosque (Makkah), the Aqsa Mosque (Jerusalem), and this Mosque of mine (al-Madinah)." [Agreed upon, and the wording is al-Bukhari's].
وَعَنْ أَبِي سَعِيدٍ اَلْخُدْرِيِّ ‏- رضى الله عنه ‏- عَنْ اَلنَّبِيِّ ‏- صلى الله عليه وسلم ‏-قَالَ: { "لَا تُشَدُّ اَلرِّحَالُ إِلَّا إِلَى ثَلَاثَةِ مَسَاجِدَ: مَسْجِد اَلْحَرَامِ, وَمَسْجِدِ اَلْأَقْصَى, وَمَسْجِدِي" } مُتَّفَقٌ عَلَيْهِ, وَاللَّفْظُ لِلْبُخَارِيِّ 1‏ .‏
Reference : Bulugh al-Maram 1395
In-book reference : Book 13, Hadith 22
English translation : Book 13, Hadith 1395
Sunan Abi Dawud 2033
Abu Hurairah reported the Prophet (saws) as saying “Journey should not be made(to visit any masjid) except towards three masjids:
The sacred masjid(of Makkah), this masjid of mine and Al Aqsa masjid(in Jerusalem).
حَدَّثَنَا مُسَدَّدٌ، حَدَّثَنَا سُفْيَانُ، عَنِ الزُّهْرِيِّ، عَنْ سَعِيدِ بْنِ الْمُسَيَّبِ، عَنْ أَبِي هُرَيْرَةَ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ ‏ "‏ لاَ تُشَدُّ الرِّحَالُ إِلاَّ إِلَى ثَلاَثَةِ مَسَاجِدَ مَسْجِدِ الْحَرَامِ وَمَسْجِدِي هَذَا وَالْمَسْجِدِ الأَقْصَى ‏"‏ ‏.‏
Grade: Sahih (Al-Albani)  صحيح   (الألباني) حكم   :
Reference : Sunan Abi Dawud 2033
In-book reference : Book 11, Hadith 313
English translation : Book 10, Hadith 2028
Sunan an-Nasa'i 697
It was narrated from Ibn Abi Sa'eed Al-Khudri that his father said:
"Two men argued about the Masjid which was founded on piety from the first day. [1] One man said that it was the Masjid of Quba', and the other said that it was the Masjid of the Messenger of Allah (PBUH). The Messenger of Allah (PBUH) said: 'It is this Masjid of mine.'" [1] At-Tawbah 9:108.
أَخْبَرَنَا قُتَيْبَةُ، قَالَ حَدَّثَنَا اللَّيْثُ، عَنْ عِمْرَانَ بْنِ أَبِي أَنَسٍ، عَنِ ابْنِ أَبِي سَعِيدٍ الْخُدْرِيِّ، عَنْ أَبِيهِ، قَالَ تَمَارَى رَجُلاَنِ فِي الْمَسْجِدِ الَّذِي أُسِّسَ عَلَى التَّقْوَى مِنْ أَوَّلِ يَوْمٍ فَقَالَ رَجُلٌ هُوَ مَسْجِدُ قُبَاءٍ وَقَالَ الآخَرُ هُوَ مَسْجِدُ رَسُولِ اللَّهِ صلى الله عليه وسلم ‏.‏ فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏ "‏ هُوَ مَسْجِدِي هَذَا ‏"‏ ‏.‏
Grade: Sahih (Darussalam)
Reference : Sunan an-Nasa'i 697
In-book reference : Book 8, Hadith 10
English translation : Vol. 1, Book 8, Hadith 698
Sunan an-Nasa'i 700
It was narrated from Abu Hurairah that the Messenger of Allah (PBUH) said:
"Mounts are not saddled for except to (travel to) three Masjids: Al-Masjid Al-Haram, this Masjid of mine, and Al-Masjid Al-Aqsa."
أَخْبَرَنَا مُحَمَّدُ بْنُ مَنْصُورٍ، قَالَ حَدَّثَنَا سُفْيَانُ، عَنِ الزُّهْرِيِّ، عَنْ سَعِيدٍ، عَنْ أَبِي هُرَيْرَةَ، عَنْ رَسُولِ اللَّهِ صلى الله عليه وسلم قَالَ ‏ "‏ لاَ تُشَدُّ الرِّحَالُ إِلاَّ إِلَى ثَلاَثَةِ مَسَاجِدَ مَسْجِدِ الْحَرَامِ وَمَسْجِدِي هَذَا وَمَسْجِدِ الأَقْصَى ‏"‏ ‏.‏
Grade: Sahih (Darussalam)
Reference : Sunan an-Nasa'i 700
In-book reference : Book 8, Hadith 13
English translation : Vol. 1, Book 8, Hadith 701
Riyad as-Salihin 1785
Abu Sha'tha' said:
We were sitting with Abu Hurairah (May Allah be pleased with him) in the mosque when the Mu'adhdhin proclaimed the Adhan. A man stood up in the mosque and started walking out. Abu Hurairah (May Allah be pleased with him) stared at him till he went out of the mosque. Upon this Abu Hurairah (May Allah be pleased with him) said: Indeed, this man has disobeyed Abul-Qasim (PBUH).

[Muslim].

عن أبي الشعثاء قال‏:‏ كنا قعودًا مع أبي هريرة رضي الله عنه في المسجد فأذن المؤذن، فقام رجل من المسجد يمشي، فأتبعه أبو هريرة بصره حتى خرج من المسجد فقال أبو هريرة‏:‏ أما هذا فقد عصى أبا القاسم صلى الله عليه وسلم ‏"‏ ‏(‏‏(‏‏رواه مسلم‏)‏‏)‏‏.‏
Reference : Riyad as-Salihin 1785
In-book reference : Book 17, Hadith 275
Sahih al-Bukhari 3425

Narrated Abu Dhaar:

I said, "O Allah's Apostle! Which mosque was built first?" He replied, "Al-Masjid-ul-Haram." I asked, "Which (was built) next?" He replied, "Al-Masjid-ul-Aqs-a (i.e. Jerusalem)." I asked, "What was the period in between them?" He replied, "Forty (years)." He then added, "Wherever the time for the prayer comes upon you, perform the prayer, for all the earth is a place of worshipping for you."

حَدَّثَنِي عُمَرُ بْنُ حَفْصٍ، حَدَّثَنَا أَبِي، حَدَّثَنَا الأَعْمَشُ، حَدَّثَنَا إِبْرَاهِيمُ التَّيْمِيُّ، عَنْ أَبِيهِ، عَنْ أَبِي ذَرٍّ ـ رضى الله عنه ـ قَالَ قُلْتُ يَا رَسُولَ اللَّهِ‏.‏ أَىُّ مَسْجِدٍ وُضِعَ أَوَّلُ قَالَ ‏"‏ الْمَسْجِدُ الْحَرَامُ ‏"‏‏.‏ قُلْتُ ثُمَّ أَىٌّ قَالَ ‏"‏ ثُمَّ الْمَسْجِدُ الأَقْصَى ‏"‏‏.‏ قُلْتُ كَمْ كَانَ بَيْنَهُمَا قَالَ ‏"‏ أَرْبَعُونَ ‏"‏‏.‏ ثُمَّ قَالَ ‏"‏ حَيْثُمَا أَدْرَكَتْكَ الصَّلاَةُ فَصَلِّ، وَالأَرْضُ لَكَ مَسْجِدٌ ‏"‏‏.‏
Reference : Sahih al-Bukhari 3425
In-book reference : Book 60, Hadith 97
USC-MSA web (English) reference : Vol. 4, Book 55, Hadith 636
  (deprecated numbering scheme)
Sahih Muslim 520 a

Abu Dharr reported:

I said: Messenger of Allah, which mosque was set up first on the earth? He said: Al-Masjid al-Haram (the sacred). I (again) said: Then which next? He said: It was the Masjid Aqsa. I (again) said: How long the space of time (between their setting up)? He (the Holy Prophet) said: It was forty years. And whenever the time comes for prayer, pray there, for that is a mosque; and in the hadith transmitted by Abu Kamil (the words are):" Whenever time comes for prayer, pray, for that is a mosque (for you)."
حَدَّثَنِي أَبُو كَامِلٍ الْجَحْدَرِيُّ، حَدَّثَنَا عَبْدُ الْوَاحِدِ، حَدَّثَنَا الأَعْمَشُ، ح قَالَ وَحَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، وَأَبُو كُرَيْبٍ قَالاَ حَدَّثَنَا أَبُو مُعَاوِيَةَ، عَنِ الأَعْمَشِ، عَنْ إِبْرَاهِيمَ التَّيْمِيِّ، عَنْ أَبِيهِ، عَنْ أَبِي ذَرٍّ، قَالَ قُلْتُ يَا رَسُولَ اللَّهِ أَىُّ مَسْجِدٍ وُضِعَ فِي الأَرْضِ أَوَّلُ قَالَ ‏"‏ الْمَسْجِدُ الْحَرَامُ ‏"‏ ‏.‏ قُلْتُ ثُمَّ أَىٌّ قَالَ ‏"‏ الْمَسْجِدُ الأَقْصَى ‏"‏ ‏.‏ قُلْتُ كَمْ بَيْنَهُمَا قَالَ ‏"‏ أَرْبَعُونَ سَنَةً وَأَيْنَمَا أَدْرَكَتْكَ الصَّلاَةُ فَصَلِّ فَهُوَ مَسْجِدٌ ‏"‏ ‏.‏ وَفِي حَدِيثِ أَبِي كَامِلٍ ‏"‏ ثُمَّ حَيْثُمَا أَدْرَكَتْكَ الصَّلاَةُ فَصَلِّهْ فَإِنَّهُ مَسْجِدٌ ‏"‏ ‏.‏
Reference : Sahih Muslim 520a
In-book reference : Book 5, Hadith 1
USC-MSA web (English) reference : Book 4, Hadith 1056
  (deprecated numbering scheme)
Sahih al-Bukhari 1189

Narrated Abu Huraira:

The Prophet said, "Do not set out on a journey except for three Mosques i.e. Al-Masjid-AI-Haram, the Mosque of Allah's Apostle , and the Mosque of Al-Aqsa, (Mosque of Jerusalem)."

حَدَّثَنَا عَلِيٌّ، حَدَّثَنَا سُفْيَانُ، عَنِ الزُّهْرِيِّ، عَنْ سَعِيدٍ، عَنْ أَبِي هُرَيْرَةَ ـ رضى الله عنه ـ عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ ‏ "‏ لاَ تُشَدُّ الرِّحَالُ إِلاَّ إِلَى ثَلاَثَةِ مَسَاجِدَ الْمَسْجِدِ الْحَرَامِ، وَمَسْجِدِ الرَّسُولِ صلى الله عليه وسلم وَمَسْجِدِ الأَقْصَى ‏"‏‏.‏
Reference : Sahih al-Bukhari 1189
In-book reference : Book 20, Hadith 2
USC-MSA web (English) reference : Vol. 2, Book 21, Hadith 281
  (deprecated numbering scheme)
Sahih Muslim 1397 a

Abu Hurairah (Allah be pleased with him) reported it directly from Allah's Apostle (may peace be upon him) that he said:

Do not undertake a journey to visit any Mosque, but three: this Mosque of mine, the Mosque of al-Haram and the Mosque of Aqsa (Bait al-Maqdis).
حَدَّثَنِي عَمْرٌو النَّاقِدُ، وَزُهَيْرُ بْنُ حَرْبٍ، جَمِيعًا عَنِ ابْنِ عُيَيْنَةَ، - قَالَ عَمْرٌو حَدَّثَنَا سُفْيَانُ، - عَنِ الزُّهْرِيِّ، عَنْ سَعِيدٍ، عَنْ أَبِي هُرَيْرَةَ، يَبْلُغُ بِهِ النَّبِيَّ صلى الله عليه وسلم ‏ "‏ لاَ تُشَدُّ الرِّحَالُ إِلاَّ إِلَى ثَلاَثَةِ مَسَاجِدَ مَسْجِدِي هَذَا وَمَسْجِدِ الْحَرَامِ وَمَسْجِدِ الأَقْصَى ‏"‏ ‏.‏
Reference : Sahih Muslim 1397a
In-book reference : Book 15, Hadith 588
USC-MSA web (English) reference : Book 7, Hadith 3218
  (deprecated numbering scheme)
Riyad as-Salihin 1693
Anas bin Malik (May Allah be pleased with him) said:
The Messenger of Allah (PBUH) said, "Spitting in the mosque is a sin, and its expiation is that the spittle should be buried in earth."

[Al-Bukhari and Muslim].

عن أنس رضي الله عنه أن رسول الله صلى الله عليه وسلم ‏:‏ ‏ "‏البصاق في المسجد خطيئة، وكفارتها دفنها‏"‏ ‏(‏‏(‏متفق عليه‏)‏‏)‏‏.‏ والمرادُ بِدَفْنِهَا إذَا كَانَ المَسْجِدُ تُرَابًا أوْ رَمْلًا ونَحْوَهُ فَيُوَارِيهَا تَحْتَ تُرَابِهِ. قالَ أبُو المحاسِنِ الرُّويَانِي مِنْ أصحابِنا في كِتَابِهِ (البحر) وقِيلَ: المُرَادُ بِدَفْنِهَا إخْراجُهَا مِنَ المَسْجِدِ، أمَّا إِذَا كَانَ المَسْجِدُ مُبَلَّطًا أَوْ مُجَصَّصًا، فَدَلَكَهَا عَلَيْهِ بِمَدَاسِهِ أَوْ بِغَيْرِهِ كَمَا يَفْعَلُهُ كَثيرٌ مِنَ الجُهَّالِ، فَلَيْسَ ذَلِكَ بِدَفْنٍ، بَلْ زِيَادَةٌ فِي الخَطِيئَةِ وَتَكْثِيرٌ لِلقَذَرِ في المَسْجِدِ، وَعَلَى مَنْ فَعَلَ ذَلِكَ أنْ يَمْسَحَهُ بَعْدَ ذَلِكَ بِثَوْبِهِ أَوْ بِيَدِهِ أَوْ غَيرِهِ أَوْ يَغْسِلَهُ.
Reference : Riyad as-Salihin 1693
In-book reference : Book 17, Hadith 183
Sunan Ibn Majah 1409
It was narrated from Abu Hurairah that the Messenger of Allah (saw) said:
“No one should prepare a mount (travel) to visit any mosque except three: the Sacred Mosque, this mosque of mine, and Aqsa Mosque.”
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا عَبْدُ الأَعْلَى، عَنْ مَعْمَرٍ، عَنِ الزُّهْرِيِّ، عَنْ سَعِيدِ بْنِ الْمُسَيَّبِ، عَنْ أَبِي هُرَيْرَةَ، أَنَّ رَسُولَ اللَّهِ ـ صلى الله عليه وسلم ـ قَالَ ‏ "‏ لاَ تُشَدُّ الرِّحَالُ إِلاَّ إِلَى ثَلاَثَةِ مَسَاجِدَ مَسْجِدِ الْحَرَامِ وَمَسْجِدِي هَذَا وَالْمَسْجِدِ الأَقْصَى ‏"‏ ‏.‏
Grade: Sahih (Darussalam)
Reference : Sunan Ibn Majah 1409
In-book reference : Book 5, Hadith 607
English translation : Vol. 1, Book 5, Hadith 1409
Sahih Muslim 1397 c

Abu Haraira (Allah be pleased with him) reported Allah's Messenger (way peace be upon him) as saying:

One should undertake journey to three mosques: the mosque of the Ka'ba, my mosque, and the mosque of Elia (Bait al-Maqdis).
وَحَدَّثَنَا هَارُونُ بْنُ سَعِيدٍ الأَيْلِيُّ، حَدَّثَنَا ابْنُ وَهْبٍ، حَدَّثَنِي عَبْدُ الْحَمِيدِ بْنُ جَعْفَرٍ، أَنَّ عِمْرَانَ بْنَ أَبِي أَنَسٍ، حَدَّثَهُ أَنَّ سَلْمَانَ الأَغَرَّ حَدَّثَهُ أَنَّهُ، سَمِعَ أَبَا هُرَيْرَةَ، يُخْبِرُ أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ ‏ "‏ إِنَّمَا يُسَافَرُ إِلَى ثَلاَثَةِ مَسَاجِدَ مَسْجِدِ الْكَعْبَةِ وَمَسْجِدِي وَمَسْجِدِ إِيلِيَاءَ ‏"‏ ‏.‏
Reference : Sahih Muslim 1397c
In-book reference : Book 15, Hadith 590
USC-MSA web (English) reference : Book 7, Hadith 3220
  (deprecated numbering scheme)
Sunan an-Nasa'i 690
It was narrated that Ibrahim said:
"I used to recite Qur'an to my father on the road, and if I recited a verse in which prostration was required, he would prostrate. I said: 'O my father, do you prostrate on the street?' He said: 'I heard Abu Dharr say: "I asked the Messenger of Allah (PBUH): 'Which Masjid was built first?' He said: 'Al-Masjid Al-Haram.' [1] I said: 'Then which?' He said: 'Al-Masjid Al-Aqsa.' [2] I said: 'How long was there between them?' He said: 'Forty years. And the earth is a Masjid (or a place of prostration) for you, so wherever you are when the time for prayer comes, pray.'" [1] In Makkah. [2] "Furthest Masjid", meaning the Masjid in Jerulsalem.
أَخْبَرَنَا عَلِيُّ بْنُ حُجْرٍ، قَالَ حَدَّثَنَا عَلِيُّ بْنُ مُسْهِرٍ، عَنِ الأَعْمَشِ، عَنْ إِبْرَاهِيمَ، قَالَ كُنْتُ أَقْرَأُ عَلَى أَبِي الْقُرْآنَ فِي السِّكَّةِ فَإِذَا قَرَأْتُ السَّجْدَةَ سَجَدَ فَقُلْتُ يَا أَبَتِ أَتَسْجُدُ فِي الطَّرِيقِ فَقَالَ إِنِّي سَمِعْتُ أَبَا ذَرٍّ يَقُولُ سَأَلْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم أَىُّ مَسْجِدٍ وُضِعَ أَوَّلاً قَالَ ‏"‏ الْمَسْجِدُ الْحَرَامُ ‏"‏ ‏.‏ قُلْتُ ثُمَّ أَىُّ قَالَ ‏"‏ الْمَسْجِدُ الأَقْصَى ‏"‏ ‏.‏ قُلْتُ وَكَمْ بَيْنَهُمَا قَالَ ‏"‏ أَرْبَعُونَ عَامًا وَالأَرْضُ لَكَ مَسْجِدٌ فَحَيْثُمَا أَدْرَكْتَ الصَّلاَةَ فَصَلِّ ‏"‏ ‏.‏
Grade: Sahih (Darussalam)
Reference : Sunan an-Nasa'i 690
In-book reference : Book 8, Hadith 3
English translation : Vol. 1, Book 8, Hadith 691
Jami` at-Tirmidhi 326
Abu Sa'eed Al-Khudri narrated that :
Allah's Messenger said: "A mount is not saddled (for a journey) except to three Masajid: Al-Masjid Al-Haram, this Masjid of mine, and Masjid Al-Aqsa." [Abu `Eisa said:] This Hadith is Hasan Sahih.
حَدَّثَنَا ابْنُ أَبِي عُمَرَ، حَدَّثَنَا سُفْيَانُ بْنُ عُيَيْنَةَ، عَنْ عَبْدِ الْمَلِكِ بْنِ عُمَيْرٍ، عَنْ قَزَعَةَ، عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏ "‏ لاَ تُشَدُّ الرِّحَالُ إِلاَّ إِلَى ثَلاَثَةِ مَسَاجِدَ مَسْجِدِ الْحَرَامِ وَمَسْجِدِي هَذَا وَمَسْجِدِ الأَقْصَى ‏"‏ ‏.‏ قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ حَسَنٌ صَحِيحٌ ‏.‏
Grade: Sahih (Darussalam)
Reference : Jami` at-Tirmidhi 326
In-book reference : Book 2, Hadith 178
English translation : Vol. 1, Book 2, Hadith 326
Riyad as-Salihin 1055
Ubayy bin Ka'b (May Allah be pleased with him) reported:
There was a man of the Ansar whose house was the farthest from the mosque. As far as I know, he never missed Salat (in congregation). It was said to him: "If you buy a donkey, you may ride upon it in the dark nights and in the hot days." He said: "I do not like that my house should be situated close to the mosque. I desire that my walking towards the mosque and returning home be recorded to my credit." Upon this the Messenger of Allah (PBUH) said, "Allah has gathered all (rewards) for you."

[Muslim].

-وعن أبي بن كعب رضي الله عنه قال‏:‏ كان رجل من الأنصار لا أعلم أحدًا أبعد من المسجد منه، وكانت لا تخطئه صلاة‏!‏ فقيل له‏:‏ لو اشتريت حمارًا تركبه في الظلماء وفي الرمضاء قال‏:‏ ما يسرني أن منزلي إلى جنب المسجد إني أريد أن يكتب لي ممشاي إلى المسجد، ورجوعي إذا رجعت إلى أهلي، فقال رسول الله صلى الله عليه وسلم‏:‏ ‏ "‏قد جمع الله لك ذلك كله‏"‏ ‏(‏‏(‏رواه مسلم‏)‏‏)‏‏.‏
Reference : Riyad as-Salihin 1055
In-book reference : Book 8, Hadith 65
Sunan Ibn Majah 1410
It was narrated from Abu Sa’eed and ‘Abdullah bin ‘Amr bin ‘As that the Messenger of Allah (saw) said:
“Do not prepare a mount (travel) to visit any mosque except three: the Sacred Mosque, Aqsa Mosque, and this mosque of mine.”
حَدَّثَنَا هِشَامُ بْنُ عَمَّارٍ، حَدَّثَنَا مُحَمَّدُ بْنُ شُعَيْبٍ، حَدَّثَنَا يَزِيدُ بْنُ أَبِي مَرْيَمَ، عَنْ قَزَعَةَ، عَنْ أَبِي سَعِيدٍ، وَعَبْدِ اللَّهِ بْنِ عَمْرِو بْنِ الْعَاصِ، أَنَّ رَسُولَ اللَّهِ ـ صلى الله عليه وسلم ـ قَالَ ‏ "‏ لاَ تُشَدُّ الرِّحَالُ إِلاَّ إِلَى ثَلاَثَةِ مَسَاجِدَ إِلَى الْمَسْجِدِ الْحَرَامِ وَإِلَى الْمَسْجِدِ الأَقْصَى وَإِلَى مَسْجِدِي هَذَا ‏"‏ ‏.‏
Grade: Sahih (Darussalam)
Reference : Sunan Ibn Majah 1410
In-book reference : Book 5, Hadith 608
English translation : Vol. 1, Book 5, Hadith 1410
Mishkat al-Masabih 462
‘A'isha reported God’s messenger as saying, “Turn these houses so as not to face the mosque, for I do not make the mosque lawful for a menstruating woman or one who is seminally defiled.” Abu Dawud transmitted it.
وَعَنْ عَائِشَةَ قَالَتْ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «وَجِّهُوا هَذِهِ الْبُيُوتَ عَنِ الْمَسْجِدِ فَإِنِّي لَا أُحِلُّ الْمَسْجِدَ لِحَائِضٍ وَلَا جنب» . رَوَاهُ أَبُو دَاوُد
  ضَعِيف   (الألباني) حكم   :
Reference : Mishkat al-Masabih 462
In-book reference : Book 3, Hadith 166
Sahih Muslim 655 a

Abu Sha'tha' reported:

While we were sitting with Abu Huraira in a mosque a man went out of the mosque after the call to prayer had been announced. (A man stood up in the mosque and set off.) Abu Huraira's eyes followed him till he went out of the mosque. Upon this Abu Huraira said: This man has disobeyed Abu'l- Qasim (Muhammad) (may peace be upon him).
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا أَبُو الأَحْوَصِ، عَنْ إِبْرَاهِيمَ بْنِ الْمُهَاجِرِ، عَنْ أَبِي الشَّعْثَاءِ، قَالَ كُنَّا قُعُودًا فِي الْمَسْجِدِ مَعَ أَبِي هُرَيْرَةَ فَأَذَّنَ الْمُؤَذِّنُ فَقَامَ رَجُلٌ مِنَ الْمَسْجِدِ يَمْشِي فَأَتْبَعَهُ أَبُو هُرَيْرَةَ بَصَرَهُ حَتَّى خَرَجَ مِنَ الْمَسْجِدِ فَقَالَ أَبُو هُرَيْرَةَ أَمَّا هَذَا فَقَدْ عَصَى أَبَا الْقَاسِمِ صلى الله عليه وسلم ‏.‏
Reference : Sahih Muslim 655a
In-book reference : Book 5, Hadith 322
USC-MSA web (English) reference : Book 4, Hadith 1377
  (deprecated numbering scheme)
Mishkat al-Masabih 700
Jabir said that the area round the mosque was vacant and that the B. Salima wanted to remove near the mosque, but when the Prophet heard of that he said to them, “I have heard that you want to remove near the mosque.” They replied, “Yes, Messenger of God, that was our desire.” He said, “B. Salima, if you keep to your present houses, your footprints will be recorded; if you keep to your present houses, your footprints will be recorded.”* * I.e. you will receive a reward for the distance you have to go to the mosque. Muslim transmitted it.
وَعَن جَابر قَالَ: خَلَتِ الْبِقَاعُ حَوْلَ الْمَسْجِدِ فَأَرَادَ بَنُو سَلِمَةَ أَنْ يَنْتَقِلُوا قُرْبَ الْمَسْجِدِ فَبَلَغَ ذَلِكَ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فَقَالَ لَهُمْ: «بَلَغَنِي أَنَّكُمْ تُرِيدُونَ أَنْ تَنْتَقِلُوا قُرْبَ الْمَسْجِدِ» . قَالُوا: نَعَمْ يَا رَسُولَ اللَّهِ قَدْ أَرَدْنَا ذَلِكَ. فَقَالَ: «يَا بَنِي سَلِمَةَ دِيَارَكُمْ تُكْتَبْ آثَاركُم دِيَاركُمْ تكْتب آثَاركُم» . رَوَاهُ مُسلم
  صَحِيح   (الألباني) حكم   :
Reference : Mishkat al-Masabih 700
In-book reference : Book 4, Hadith 131
Mishkat al-Masabih 692
Abu Huraira reported God’s Messenger as saying, “One prayer in this mosque of mine (i.e. the mosque in Medina) is better than a thousand elsewhere, except the sacred mosque.” (Bukhari and Muslim)
وَعَنْ أَبِي هُرَيْرَةَ رَضِيَ اللَّهُ عَنْهُ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «صَلَاةٌ فِي مَسْجِدِي هَذَا خَيْرٌ مِنْ أَلْفِ صَلَاةٍ فِيمَا سِوَاهُ إِلَّا الْمَسْجِدَ الْحَرَام»
  مُتَّفَقٌ عَلَيْهِ   (الألباني) حكم   :
Reference : Mishkat al-Masabih 692
In-book reference : Book 4, Hadith 123
Sahih Muslim 520 b

Ibrahim b. Yazid al-Tayml reported:

I used to read the Qur'an with my father in the vestibule (before the door of the mosque). When I recited the ayat (verses) concerning prostration, he prostrated himself. I said to him: Father, do you prostrate yourself in the path? He said: I heard Abu Dharr saying: I asked the Messenger of Allah (may peace be upon him) about the mosque that was first set up on the earth. He said: Masjid Harim. I said: Then which next? He said: The Masjid al-Aqsa. I said: How long is the space of time between the two? He said: Forty years. He (then) further said: The earth is a mosque for you, so wherever you are at the time of prayer, pray there.
حَدَّثَنِي عَلِيُّ بْنُ حُجْرٍ السَّعْدِيُّ، أَخْبَرَنَا عَلِيُّ بْنُ مُسْهِرٍ، حَدَّثَنَا الأَعْمَشُ، عَنْ إِبْرَاهِيمَ بْنِ يَزِيدَ التَّيْمِيِّ، قَالَ كُنْتُ أَقْرَأُ عَلَى أَبِي الْقُرْآنَ فِي السُّدَّةِ فَإِذَا قَرَأْتُ السَّجْدَةَ سَجَدَ فَقُلْتُ لَهُ يَا أَبَتِ أَتَسْجُدُ فِي الطَّرِيقِ قَالَ إِنِّي سَمِعْتُ أَبَا ذَرٍّ يَقُولُ سَأَلْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم عَنْ أَوَّلِ مَسْجِدٍ وُضِعَ فِي الأَرْضِ قَالَ ‏"‏ الْمَسْجِدُ الْحَرَامُ ‏"‏ ‏.‏ قُلْتُ ثُمَّ أَىٌّ قَالَ ‏"‏ الْمَسْجِدُ الأَقْصَى ‏"‏ ‏.‏ قُلْتُ كَمْ بَيْنَهُمَا قَالَ ‏"‏ أَرْبَعُونَ عَامًا ثُمَّ الأَرْضُ لَكَ مَسْجِدٌ فَحَيْثُمَا أَدْرَكَتْكَ الصَّلاَةُ فَصَلِّ ‏"‏ ‏.‏
Reference : Sahih Muslim 520b
In-book reference : Book 5, Hadith 2
USC-MSA web (English) reference : Book 4, Hadith 1057
  (deprecated numbering scheme)
Sunan Abi Dawud 232

Narrated Aisha, Ummul Mu'minin:

The Messenger of Allah (saws) came and saw that the doors of the houses of his Companions were facing the mosque. He said: Turn the direction of the houses from the mosque. The Prophet (saws) then entered (the houses or the mosque), and the people did take any step in this regard hoping that some concession might be revealed. He the Prophet) again came upon them and said: Turn the direction of these (doors) from the mosque I do not make the mosque lawful for a menstruating woman and for a person who is sexually defiled.

Abu Dawud said: Aflat b. Khalifah is also called Fulait al-'Amiri.

حَدَّثَنَا مُسَدَّدٌ، حَدَّثَنَا عَبْدُ الْوَاحِدِ بْنُ زِيَادٍ، حَدَّثَنَا الأَفْلَتُ بْنُ خَلِيفَةَ، قَالَ حَدَّثَتْنِي جَسْرَةُ بِنْتُ دِجَاجَةَ، قَالَتْ سَمِعْتُ عَائِشَةَ، رضى الله عنها تَقُولُ جَاءَ رَسُولُ اللَّهِ صلى الله عليه وسلم وَوُجُوهُ بُيُوتِ أَصْحَابِهِ شَارِعَةٌ فِي الْمَسْجِدِ فَقَالَ ‏"‏ وَجِّهُوا هَذِهِ الْبُيُوتَ عَنِ الْمَسْجِدِ ‏"‏ ‏.‏ ثُمَّ دَخَلَ النَّبِيُّ صلى الله عليه وسلم وَلَمْ يَصْنَعِ الْقَوْمُ شَيْئًا رَجَاءَ أَنْ تَنْزِلَ فِيهِمْ رُخْصَةٌ فَخَرَجَ إِلَيْهِمْ بَعْدُ فَقَالَ ‏"‏ وَجِّهُوا هَذِهِ الْبُيُوتَ عَنِ الْمَسْجِدِ فَإِنِّي لاَ أُحِلُّ الْمَسْجِدَ لِحَائِضٍ وَلاَ جُنُبٍ ‏"‏ ‏.‏ قَالَ أَبُو دَاوُدَ وَهُوَ فُلَيْتٌ الْعَامِرِيُّ ‏.‏
Grade: Da'if (Al-Albani)  ضعيف   (الألباني) حكم   :
Reference : Sunan Abi Dawud 232
In-book reference : Book 1, Hadith 232
English translation : Book 1, Hadith 232
Riyad as-Salihin 137
Ubayy bin Ka'b (May Allah be pleased with him) reported:
There was a man, and I do not know of any other man whose house was farther than his from the mosque, and he never missed Salat (in congregation). It was said to him (or I said to him): "If you buy a donkey you could ride it in the dark nights and in the burning sand." He said: "I do not like my house to be by the side of the mosque, for I (eagerly) desire that my steps towards the mosque and back from it should be recorded when I return to my family." Upon this Messenger of Allah (PBUH) said, "Allah has granted you all the rewards for you".

[Muslim].

Another narration says: "You will get the reward for what you have anticipated".

الحادي والعشرون‏:‏ عن أبي المنذر أبي بن كعب رضي الله عنه قال‏:‏ كان رجل لا أعلم رجلاً أبعد من المسجد منه، وكان لا تخطئه صلاة فقيل له، أو فقلت له‏:‏ لو اشتريت حماراً تركبه في الظلماء، وفي الرمضاء، فقال‏:‏ ما يسرني أن منزلي إلى جنب المسجد، إني أريد أن يكتب لي ممشاي إلى المسجد، ورجوعي إذا رجعت إلى أهلي، فقال رسول الله صلى الله عليه وسلم‏:‏ ‏ "‏قد جمع الله لك ذلك كله‏"‏ ‏(‏‏(‏رواه مسلم‏)‏‏)‏‏.‏
Reference : Riyad as-Salihin 137
In-book reference : Introduction, Hadith 137
Sunan Ibn Majah 733
It was narrated that Abu Sha'tha said:
"We were sitting in the mosque with Abu Hurairah when the Mu'adh-dhin called the Adhan. A man got up and walked out of the mosque, and Abu Hurairah followed him with his gaze until he left the mosque. Then Abu Hurairah said: "This man has disobeyed Abul-Qasim.'"
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا أَبُو الأَحْوَصِ، عَنْ إِبْرَاهِيمَ بْنِ مُهَاجِرٍ، عَنْ أَبِي الشَّعْثَاءِ، قَالَ كُنَّا قُعُودًا فِي الْمَسْجِدِ مَعَ أَبِي هُرَيْرَةَ فَأَذَّنَ الْمُؤَذِّنُ فَقَامَ رَجُلٌ مِنَ الْمَسْجِدِ يَمْشِي فَأَتْبَعَهُ أَبُو هُرَيْرَةَ بَصَرَهُ حَتَّى خَرَجَ مِنَ الْمَسْجِدِ فَقَالَ أَبُو هُرَيْرَةَ أَمَّا هَذَا فَقَدْ عَصَى أَبَا الْقَاسِمِ ـ صلى الله عليه وسلم ـ ‏.‏
Grade: Sahih (Darussalam)
Reference : Sunan Ibn Majah 733
In-book reference : Book 3, Hadith 28
English translation : Vol. 1, Book 3, Hadith 733
Sunan Ibn Majah 1406
It was narrated from Jabir that the Messenger of Allah (saw) said:
“One prayer in my mosque is better than one thousand prayers elsewhere, except the Sacred Mosque, and one prayer in the Sacred Mosque is better than one hundred thousand prayers elsewhere.”
حَدَّثَنَا إِسْمَاعِيلُ بْنُ أَسَدٍ، حَدَّثَنَا زَكَرِيَّا بْنُ عَدِيٍّ، أَنْبَأَنَا عُبَيْدُ اللَّهِ بْنُ عَمْرٍو، عَنْ عَبْدِ الْكَرِيمِ، عَنْ عَطَاءٍ، عَنْ جَابِرٍ، أَنَّ رَسُولَ اللَّهِ ـ صلى الله عليه وسلم ـ قَالَ ‏ "‏ صَلاَةٌ فِي مَسْجِدِي أَفْضَلُ مِنْ أَلْفِ صَلاَةٍ فِيمَا سِوَاهُ. إِلاَّ الْمَسْجِدَ الْحَرَامَ. وَصَلاَةٌ فِي الْمَسْجِدِ الْحَرَامِ أَفْضَلُ مِنْ مِائَةِ أَلْفِ صَلاَةٍ فِيمَا سِوَاهُ ‏"‏ ‏.‏
Grade: Sahih (Darussalam)
Reference : Sunan Ibn Majah 1406
In-book reference : Book 5, Hadith 604
English translation : Vol. 1, Book 5, Hadith 1406
Sahih al-Bukhari 3366

Narrated Abu Dhar:

I said, "O Allah's Apostle! Which mosque was first built on the surface of the earth?" He said, "Al- Masjid-ul-,Haram (in Mecca)." I said, "Which was built next?" He replied "The mosque of Al-Aqsa ( in Jerusalem) ." I said, "What was the period of construction between the two?" He said, "Forty years." He added, "Wherever (you may be, and) the prayer time becomes due, perform the prayer there, for the best thing is to do so (i.e. to offer the prayers in time).

حَدَّثَنَا مُوسَى بْنُ إِسْمَاعِيلَ، حَدَّثَنَا عَبْدُ الْوَاحِدِ، حَدَّثَنَا الأَعْمَشُ، حَدَّثَنَا إِبْرَاهِيمُ التَّيْمِيُّ، عَنْ أَبِيهِ، قَالَ سَمِعْتُ أَبَا ذَرٍّ ـ رضى الله عنه ـ قَالَ قُلْتُ يَا رَسُولَ اللَّهِ، أَىُّ مَسْجِدٍ وُضِعَ فِي الأَرْضِ أَوَّلُ قَالَ ‏"‏ الْمَسْجِدُ الْحَرَامُ ‏"‏‏.‏ قَالَ قُلْتُ ثُمَّ أَىٌّ قَالَ ‏"‏ الْمَسْجِدُ الأَقْصَى ‏"‏‏.‏ قُلْتُ كَمْ كَانَ بَيْنَهُمَا قَالَ ‏"‏ أَرْبَعُونَ سَنَةً، ثُمَّ أَيْنَمَا أَدْرَكَتْكَ الصَّلاَةُ بَعْدُ فَصَلِّهْ، فَإِنَّ الْفَضْلَ فِيهِ ‏"‏‏.‏
Reference : Sahih al-Bukhari 3366
In-book reference : Book 60, Hadith 40
USC-MSA web (English) reference : Vol. 4, Book 55, Hadith 585
  (deprecated numbering scheme)
Sunan Ibn Majah 753
It was narrated that Abu Dharr Al-Ghifari said:
"I said: 'O Messenger of Allah! Which mosque was built first?' He said: 'Al-Masjid Al-Haram (in Makkah).' I said: 'Then which?' He said: 'then Al-Masjid Al-Aqsa (in Jerusalem).' I said: 'How many years between them?' He said: 'Forty years, but the whole earth is a mosque for you, so pray wherever you are when the time for prayer comes.'"
حَدَّثَنَا عَلِيُّ بْنُ مَيْمُونٍ الرَّقِّيُّ، حَدَّثَنَا مُحَمَّدُ بْنُ عُبَيْدٍ، ح وَحَدَّثَنَا عَلِيُّ بْنُ مُحَمَّدٍ، حَدَّثَنَا أَبُو مُعَاوِيَةَ، عَنِ الأَعْمَشِ، عَنْ إِبْرَاهِيمَ التَّيْمِيِّ، عَنْ أَبِيهِ، عَنْ أَبِي ذَرٍّ الْغِفَارِيِّ، قَالَ قُلْتُ يَا رَسُولَ اللَّهِ أَىُّ مَسْجِدٍ وُضِعَ أَوَّلُ قَالَ ‏"‏ الْمَسْجِدُ الْحَرَامُ ‏"‏ ‏.‏ قَالَ قُلْتُ ثُمَّ أَىٌّ قَالَ ‏"‏ ثُمَّ الْمَسْجِدُ الأَقْصَى ‏"‏ ‏.‏ قُلْتُ كَمْ بَيْنَهُمَا قَالَ ‏"‏ أَرْبَعُونَ عَامًا ثُمَّ الأَرْضُ لَكَ مُصَلًّى فَصَلِّ حَيْثُ مَا أَدْرَكَتْكَ الصَّلاَةُ ‏"‏ ‏.‏
Grade: Sahih (Darussalam)
Reference : Sunan Ibn Majah 753
In-book reference : Book 4, Hadith 19
English translation : Vol. 1, Book 4, Hadith 753
Sunan Ibn Majah 4002
It was narrated that Abu Hurairah met a woman who was wearing perfume and heading for the mosque. He said:
“O slavewoman of the Compeller, where are you headed?” She said: “To the mosque.” He said: “And have you put on perfume for that?” She said: “Yes.” He said: “I heard the Messenger of Allah (saw) say: ‘Any woman who puts on perfume then goes out to the mosque, no prayer will be accepted from her until she takes a bath.’”
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا سُفْيَانُ بْنُ عُيَيْنَةَ، عَنْ عَاصِمٍ، عَنْ مَوْلَى أَبِي رُهْمٍ، - وَاسْمُهُ عُبَيْدٌ - أَنَّ أَبَا هُرَيْرَةَ، لَقِيَ امْرَأَةً مُتَطَيِّبَةً تُرِيدُ الْمَسْجِدَ فَقَالَ يَا أَمَةَ الْجَبَّارِ أَيْنَ تُرِيدِينَ قَالَتِ الْمَسْجِدَ قَالَ وَلَهُ تَطَيَّبْتِ قَالَتْ نَعَمْ ‏.‏ قَالَ فَإِنِّي سَمِعْتُ رَسُولَ اللَّهِ ـ صلى الله عليه وسلم ـ يَقُولُ ‏ "‏ أَيُّمَا امْرَأَةٍ تَطَيَّبَتْ ثُمَّ خَرَجَتْ إِلَى الْمَسْجِدِ لَمْ تُقْبَلْ لَهَا صَلاَةٌ حَتَّى تَغْتَسِلَ ‏"‏ ‏.‏
Grade: Hasan (Darussalam)
Reference : Sunan Ibn Majah 4002
In-book reference : Book 36, Hadith 77
English translation : Vol. 5, Book 36, Hadith 4002
Jami` at-Tirmidhi 3099
Narrated Abu Sa'eed Al-Khudri:
"Two men disagreed over the Masjid whose foundation was laid upon Taqwa from the first day (9:108). A man said: 'It is Masjid Quba' and the other said: 'It is the Masjid of the Messenger of Allah (SAW).' So the Messenger of Allah (SAW) said: 'It is this Masjid of mine.'"
حَدَّثَنَا قُتَيْبَةُ، حَدَّثَنَا اللَّيْثُ، عَنْ عِمْرَانَ بْنِ أَبِي أَنَسٍ، عَنْ عَبْدِ الرَّحْمَنِ بْنِ أَبِي سَعِيدٍ، عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ، أَنَّهُ قَالَ تَمَارَى رَجُلاَنِ فِي الْمَسْجِدِ الَّذِي أُسِّسَ عَلَى التَّقْوَى مِنْ أَوَّلِ يَوْمٍ فَقَالَ رَجُلٌ هُوَ مَسْجِدُ قُبَاءَ وَقَالَ الآخَرُ هُوَ مَسْجِدُ رَسُولِ اللَّهِ صلى الله عليه وسلم ‏.‏ فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏ "‏ هُوَ مَسْجِدِي هَذَا ‏"‏ ‏.‏ قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ حَسَنٌ صَحِيحٌ غَرِيبٌ مِنْ حَدِيثِ عِمْرَانَ بْنِ أَبِي أَنَسٍ ‏.‏ وَقَدْ رُوِيَ هَذَا عَنْ أَبِي سَعِيدٍ مِنْ غَيْرِ هَذَا الْوَجْهِ رَوَاهُ أُنَيْسُ بْنُ أَبِي يَحْيَى عَنْ أَبِيهِ عَنْ أَبِي سَعِيدٍ رضى الله عنه ‏.‏
Grade: Sahih (Darussalam)
Reference : Jami` at-Tirmidhi 3099
In-book reference : Book 47, Hadith 151
English translation : Vol. 5, Book 44, Hadith 3099
Muslim has:
"While he (SAW) led the people in the prayer in the masjid..."
وَلِمُسْلِمٍ : { وَهُوَ يَؤُمُّ اَلنَّاسَ فِي اَلْمَسْجِدِ } .‏
Sunnah.com reference : Book 2, Hadith 92
English translation : Book 2, Hadith 0
Arabic reference : Book 2, Hadith 226
Ash-Shama'il Al-Muhammadiyah 296
Abdu’llah ibn Sa'd said:
"I asked Allah’s Messenger (Allah bless him and give him peace) about performing the ritual prayer in my home, and performing it in the mosque." He said: “You may notice how near my home is to the mosque. I prefer praying at home over praying in the mosque, except in the case of a prescribed ritual prayer.”
حَدَّثَنَا عَبَّاسٌ الْعَنْبَرِيُّ، قَالَ‏:‏ حَدَّثَنَا عَبْدُ الرَّحْمَنِ بْنُ مَهْدِيٍّ، عَنْ مُعَاوِيَةَ بْنِ صَالِحٍ، عَنِ الْعَلاءِ بْنِ الْحَارِثِ، عَنْ حَرَامِ بْنِ مُعَاوِيَةَ، عَنْ عَمِّهِ عَبْدِ اللهِ بْنِ سَعْدٍ، قَالَ‏:‏ سَأَلْتُ رَسُولَ اللهِ صلى الله عليه وسلم عَنِ الصَّلاةِ فِي بَيْتِي وَالصَّلاةِ فِي الْمَسْجِدِ، قَالَ‏:‏ قَدْ تَرَى مَا أَقْرَبَ بَيْتِي مِنَ الْمَسْجِدِ، فَلأَنْ أُصَلِّيَ فِي بَيْتِي أَحَبُّ إِلَيَّ مِنْ أَنْ أُصَلِّيَ فِي الْمَسْجِدِ، إِلا أَنْ تَكُونَ صَلاةً مَكْتُوبَةً‏.‏
Grade: Hasan (Zubair `Aliza'i)
Reference : Ash-Shama'il Al-Muhammadiyah 296
In-book reference : Book 42, Hadith 1
Sunan Ibn Majah 774
It was narrated that Abu Hurairah said:
"The Messenger of Allah said: 'When one of you performs ablution and does it well, then he comes to the mosque with no other motive but prayer and not seeking anything other than the prayer, he does not take one step but Allah raises him in status one degree thereby, and takes away one of his sins, until he enters the mosque. When he enters the mosque he is in a state of prayer so long as he is waiting for the prayer.'"
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا أَبُو مُعَاوِيَةَ، عَنِ الأَعْمَشِ، عَنْ أَبِي صَالِحٍ، عَنْ أَبِي هُرَيْرَةَ، قَالَ قَالَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ ‏ "‏ إِذَا تَوَضَّأَ أَحَدُكُمْ فَأَحْسَنَ الْوُضُوءَ ثُمَّ أَتَى الْمَسْجِدَ لاَ يَنْهَزُهُ إِلاَّ الصَّلاَةُ لاَ يُرِيدُ إِلاَّ الصَّلاَةَ لَمْ يَخْطُ خَطْوَةً إِلاَّ رَفَعَهُ اللَّهُ بِهَا دَرَجَةً وَحَطَّ عَنْهُ بِهَا خَطِيئَةً حَتَّى يَدْخُلَ الْمَسْجِدَ فَإِذَا دَخَلَ الْمَسْجِدَ كَانَ فِي صَلاَةٍ مَا كَانَتِ الصَّلاَةُ تَحْبِسُهُ ‏"‏ ‏.‏
Grade: Sahih (Darussalam)
Reference : Sunan Ibn Majah 774
In-book reference : Book 4, Hadith 40
English translation : Vol. 1, Book 4, Hadith 774
Mishkat al-Masabih 2094
‘Abdallah b. Unais told that he said, “Messenger of God, I have a place in the desert where I live and in which I pray praising God, but give me command about a night when I may leave it and come to this mosque.” He replied, “Come on the twenty-third night.” His son was asked how his father used to act and said he used to enter the mosque when he had prayed the afternoon prayer and not leave it for any purpose till he prayed the morning prayer. Then when he had prayed the morning prayer he found his beast at the door of the mosque, mounted it and got back to his desert region. Abu Dawud transmitted it.
وَعَنْ عَبْدِ اللَّهِ بْنِ أُنَيْسٍ قَالَ: قُلْتُ يَا رَسُولَ اللَّهِ إِنَّ لِي بَادِيَةً أَكُونُ فِيهَا وَأَنا أُصَلِّي فِيهَا بِحَمْد الله فَمُرْنِي بِلَيْلَةٍ أَنْزِلُهَا إِلَى هَذَا الْمَسْجِدِ فَقَالَ: «انْزِلْ لَيْلَة ثَلَاث وَعشْرين» . قيل لِابْنِهِ: كَيْفَ كَانَ أَبُوكَ يَصْنَعُ؟ قَالَ: كَانَ يَدْخُلُ الْمَسْجِدَ إِذَا صَلَّى الْعَصْرَ فَلَا يَخْرُجُ مِنْهُ لِحَاجَةٍ حَتَّى يُصَلِّيَ الصُّبْحَ فَإِذَا صَلَّى الصُّبْحَ وَجَدَ دَابَّتَهُ عَلَى بَابِ الْمَسْجِدِ فَجَلَسَ عَلَيْهَا وَلحق بباديته. رَوَاهُ أَبُو دَاوُد
Reference : Mishkat al-Masabih 2094
In-book reference : Book 7, Hadith 135
Sunan Abi Dawud 511
This tradition has been narrated by Abu Ja’far, the mu’adhdhin of ‘Uryan mosque (at Kufah), from Abu al-Muthanna, the mu’adhdhin of masjid al-akbar (at kufah) on the authority of Ibn ‘Umar. The rest of the tradition was transmitted in a like manner.
حَدَّثَنَا مُحَمَّدُ بْنُ يَحْيَى بْنِ فَارِسٍ، حَدَّثَنَا أَبُو عَامِرٍ، - يَعْنِي الْعَقَدِيَّ عَبْدُ الْمَلِكِ بْنُ عَمْرٍو - حَدَّثَنَا شُعْبَةُ، عَنْ أَبِي جَعْفَرٍ، مُؤَذِّنِ مَسْجِدِ الْعُرْيَانِ قَالَ سَمِعْتُ أَبَا الْمُثَنَّى، مُؤَذِّنَ مَسْجِدِ الأَكْبَرِ يَقُولُ سَمِعْتُ ابْنَ عُمَرَ، وَسَاقَ الْحَدِيثَ
Grade: Hasan (Al-Albani)  حسن   (الألباني) حكم   :
Reference : Sunan Abi Dawud 511
In-book reference : Book 2, Hadith 121
English translation : Book 2, Hadith 511
Sunan Abi Dawud 557
Ubayy b. Ka’b said:
There was a certain person, out of all people of Medina, who used to pray in the mosque. I do not know that any one of them lived at a farther distance than that man. Still he never missed the prayer in congregation in the mosque. I said: it would be better if you buy a donkey and ride it in heat and darkness. He said: I do not like that my house be by the side of the mosque. The discourse reached the Messenger of Allah (may peace be upon him). He said him about it. He said: I did it so that my walking to the mosque and return to my home when I return be recorded. He said: Allah has granted all this to you; Allah has granted all that you reckoned.
حَدَّثَنَا عَبْدُ اللَّهِ بْنُ مُحَمَّدٍ النُّفَيْلِيُّ، حَدَّثَنَا زُهَيْرٌ، حَدَّثَنَا سُلَيْمَانُ التَّيْمِيُّ، أَنَّ أَبَا عُثْمَانَ، حَدَّثَهُ عَنْ أُبَىِّ بْنِ كَعْبٍ، قَالَ كَانَ رَجُلٌ لاَ أَعْلَمُ أَحَدًا مِنَ النَّاسِ مِمَّنْ يُصَلِّي الْقِبْلَةَ مِنْ أَهْلِ الْمَدِينَةِ أَبْعَدَ مَنْزِلاً مِنَ الْمَسْجِدِ مِنْ ذَلِكَ الرَّجُلِ وَكَانَ لاَ تُخْطِئُهُ صَلاَةٌ فِي الْمَسْجِدِ فَقُلْتُ لَوِ اشْتَرَيْتَ حِمَارًا تَرْكَبُهُ فِي الرَّمْضَاءِ وَالظُّلْمَةِ ‏.‏ فَقَالَ مَا أُحِبُّ أَنَّ مَنْزِلِي إِلَى جَنْبِ الْمَسْجِدِ فَنُمِيَ الْحَدِيثُ إِلَى رَسُولِ اللَّهِ صلى الله عليه وسلم فَسَأَلَهُ عَنْ قَوْلِهِ ذَلِكَ فَقَالَ أَرَدْتُ يَا رَسُولَ اللَّهِ أَنْ يُكْتَبَ لِي إِقْبَالِي إِلَى الْمَسْجِدِ وَرُجُوعِي إِلَى أَهْلِي إِذَا رَجَعْتُ ‏.‏ فَقَالَ ‏ "‏ أَعْطَاكَ اللَّهُ ذَلِكَ كُلَّهُ أَنْطَاكَ اللَّهُ جَلَّ وَعَزَّ مَا احْتَسَبْتَ كُلَّهُ أَجْمَعَ ‏"‏ ‏.‏
Grade: Sahih (Al-Albani)  صحيح   (الألباني) حكم   :
Reference : Sunan Abi Dawud 557
In-book reference : Book 2, Hadith 167
English translation : Book 2, Hadith 557
Sahih Muslim 552 b

Shu'ba reported:

I asked Qatada about spitting, in the mosque. He said: I heard Anas b. Malik say: I heard the Messenger of Allah (may peace be upon him) say: Spitting in the mosque is a sin, and its expiation is that it should be buried.
حَدَّثَنَا يَحْيَى بْنُ حَبِيبٍ الْحَارِثِيُّ، حَدَّثَنَا خَالِدٌ، - يَعْنِي ابْنَ الْحَارِثِ - حَدَّثَنَا شُعْبَةُ، قَالَ سَأَلْتُ قَتَادَةَ عَنِ التَّفْلِ، فِي الْمَسْجِدِ فَقَالَ سَمِعْتُ أَنَسَ بْنَ مَالِكٍ، يَقُولُ سَمِعْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم يَقُولُ ‏ "‏ التَّفْلُ فِي الْمَسْجِدِ خَطِيئَةٌ وَكَفَّارَتُهَا دَفْنُهَا ‏"‏ ‏.‏
Reference : Sahih Muslim 552b
In-book reference : Book 5, Hadith 70
USC-MSA web (English) reference : Book 4, Hadith 1125
  (deprecated numbering scheme)
Mishkat al-Masabih 732
‘Amr b. Shu'aib on his father’s authority reported his grandfather as saying that God’s Messenger prohibited the recitation of poems in a mosque, buying and selling in it, and sitting in a circle in a mosque on Friday before the prayer. Abu Dawud and Tirmidhi transmitted it.
وَعَنْ عَمْرِو بْنِ شُعَيْبٍ عَنْ أَبِيهِ عَنْ جَدِّهِ قَالَ: نَهَى رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ عَنْ تَنَاشُدِ الْأَشْعَارِ فِي الْمَسْجِدِ وَعَنِ الْبَيْعِ وَالِاشْتِرَاءِ فِيهِ وَأَنْ يَتَحَلَّقَ النَّاسُ يَوْمَ الْجُمُعَةِ قَبْلَ الصَّلَاةِ فِي الْمَسْجِدِ. رَوَاهُ أَبُو دَاوُد وَالتِّرْمِذِيّ
  حسن   (الألباني) حكم   :
Reference : Mishkat al-Masabih 732
In-book reference : Book 4, Hadith 161
Sahih al-Bukhari 462

Narrated Abu Huraira:

The Prophet sent some horsemen to Najd and they brought a man called Thumama bin Uthal from Bani Hanifa. They fastened him to one of the pillars of the mosque. The Prophet came and ordered them to release him. He went to a (garden of) date-palms near the mosque, took a bath and entered the mosque again and said, "None has the right to be worshipped but Allah and Muhammad is His Apostle" (i.e. he embraced Islam).

حَدَّثَنَا عَبْدُ اللَّهِ بْنُ يُوسُفَ، قَالَ حَدَّثَنَا اللَّيْثُ، قَالَ حَدَّثَنَا سَعِيدُ بْنُ أَبِي سَعِيدٍ، سَمِعَ أَبَا هُرَيْرَةَ، قَالَ بَعَثَ النَّبِيُّ صلى الله عليه وسلم خَيْلاً قِبَلَ نَجْدٍ، فَجَاءَتْ بِرَجُلٍ مِنْ بَنِي حَنِيفَةَ يُقَالُ لَهُ ثُمَامَةُ بْنُ أُثَالٍ، فَرَبَطُوهُ بِسَارِيَةٍ مِنْ سَوَارِي الْمَسْجِدِ، فَخَرَجَ إِلَيْهِ النَّبِيُّ صلى الله عليه وسلم فَقَالَ ‏ "‏ أَطْلِقُوا ثُمَامَةَ ‏"‏‏.‏ فَانْطَلَقَ إِلَى نَخْلٍ قَرِيبٍ مِنَ الْمَسْجِدِ، فَاغْتَسَلَ ثُمَّ دَخَلَ الْمَسْجِدَ فَقَالَ أَشْهَدُ أَنْ لاَ إِلَهَ إِلاَّ اللَّهُ وَأَنَّ مُحَمَّدًا رَسُولُ اللَّهِ‏.‏
Reference : Sahih al-Bukhari 462
In-book reference : Book 8, Hadith 110
USC-MSA web (English) reference : Vol. 1, Book 8, Hadith 451
  (deprecated numbering scheme)
Jami` at-Tirmidhi 1033
Aishah narrated:
"The Messenger of Allah performed Salat over Suhail bin Al-Baida in the Masjid."
حَدَّثَنَا عَلِيُّ بْنُ حُجْرٍ، أَخْبَرَنَا عَبْدُ الْعَزِيزِ بْنُ مُحَمَّدٍ، عَنْ عَبْدِ الْوَاحِدِ بْنِ حَمْزَةَ، عَنْ عَبَّادِ بْنِ عَبْدِ اللَّهِ بْنِ الزُّبَيْرِ، عَنْ عَائِشَةَ، قَالَتْ صَلَّى رَسُولُ اللَّهِ صلى الله عليه وسلم عَلَى سُهَيْلِ ابْنِ بَيْضَاءَ فِي الْمَسْجِدِ ‏.‏ قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ حَسَنٌ ‏.‏ وَالْعَمَلُ عَلَى هَذَا عِنْدَ بَعْضِ أَهْلِ الْعِلْمِ ‏.‏ قَالَ الشَّافِعِيُّ قَالَ مَالِكٌ لاَ يُصَلَّى عَلَى الْمَيِّتِ فِي الْمَسْجِدِ ‏.‏ وَقَالَ الشَّافِعِيُّ يُصَلَّى عَلَى الْمَيِّتِ فِي الْمَسْجِدِ ‏.‏ وَاحْتَجَّ بِهَذَا الْحَدِيثِ ‏.‏
Grade: Sahih (Darussalam)
Reference : Jami` at-Tirmidhi 1033
In-book reference : Book 10, Hadith 69
English translation : Vol. 2, Book 5, Hadith 1033
Riyad as-Salihin 10
Abu Hurairah (May Allah be pleased with him) reported that:
The Messenger of Allah (PBUH) said: "The reward for Salat performed by a person in congregation is more than 20 times greater than that of the Salat performed in one's house or shop. When one performs Wudu' perfectly and then proceeds to the mosque with the sole intention of performing Salat, then for every step he takes towards the mosque, he is upgraded one degree in reward and one of his sins is eliminated until he enters the mosque, and when he enters the mosque, he is considered as performing Salat as long as it is the Salat which prevents him (from leaving the mosque); and the angels keep on supplicating Allah for him as long as he remains in his place of prayer. They say: 'O Allah! have mercy on him; O Allah! forgive his sins; O Allah! accept his repentance'. This will carry on as long as he does not pass wind".

[Al-Bukhari and Muslim].

وعن أبي هريرة رضي الله عنه قال رسول الله صلى الله عليه وسلم ‏:‏ ‏ "‏صلاة الرجل في جماعة تزيد على صلاته في سوقه وبيته بضعاً وعشرين درجه وذلك أن أحدهم إذا توضأ فأحسن الوضوء ثم أتى المسجد لا يريد إلا الصلاة، لا ينهزه إلا الصلاة، لم يخط خطوة إلا رفع له بها درجة، وحط عنه بها خطيئة حتى يدخل المسجد، فإذا دخل المسجد كان في الصلاة ما كانت الصلاة هى تحبسه، والملائكة يصلون على أحدكم ما دام في مجلسه الذى صلى فيه، ما لم يحدث فيه‏"‏ ‏(‏‏(‏متفق عليه، وهذا لفظ مسلم‏)‏‏)‏‏.‏
وقوله صلى الله عليه وسلم‏:‏ '‏‏ ‏ينهزه‏ ‏ هو بفتح الياء والهاء وبالزاى‏:‏ أى يخرجه وينهضه ‏'
Reference : Riyad as-Salihin 10
In-book reference : Introduction, Hadith 10
Sahih Muslim 1395 a

Ibn 'Umar (Allah be pleased with them) reported Allah's Apostle (may peace be upon him) as saying:

Prayer in this mosque of mine is better than a thousand prayers (observed in other mosque.) besides it, except that of Masjid al-Haram.
وَحَدَّثَنِي زُهَيْرُ بْنُ حَرْبٍ، وَمُحَمَّدُ بْنُ الْمُثَنَّى، قَالاَ حَدَّثَنَا يَحْيَى، - وَهُوَ الْقَطَّانُ - عَنْ عُبَيْدِ اللَّهِ، قَالَ أَخْبَرَنِي نَافِعٌ، عَنِ ابْنِ عُمَرَ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ ‏ "‏ صَلاَةٌ فِي مَسْجِدِي هَذَا أَفْضَلُ مِنْ أَلْفِ صَلاَةٍ فِيمَا سِوَاهُ إِلاَّ الْمَسْجِدَ الْحَرَامَ ‏"‏ ‏.‏
Reference : Sahih Muslim 1395a
In-book reference : Book 15, Hadith 583
USC-MSA web (English) reference : Book 7, Hadith 3213
  (deprecated numbering scheme)
Sunan Ibn Majah 1405
It was narrated from Ibn ‘Umar that the Prophet (saw) said:
“One prayer in this mosque of mine is better than one thousand prayers in any other mosque except the Sacred Mosque.”
حَدَّثَنَا إِسْحَاقُ بْنُ مَنْصُورٍ، حَدَّثَنَا عَبْدُ اللَّهِ بْنُ نُمَيْرٍ، عَنْ عُبَيْدِ اللَّهِ، عَنْ نَافِعٍ، عَنِ ابْنِ عُمَرَ، عَنِ النَّبِيِّ ـ صلى الله عليه وسلم ـ قَالَ ‏ "‏ صَلاَةٌ فِي مَسْجِدِي هَذَا أَفْضَلُ مِنْ أَلْفِ صَلاَةٍ فِيمَا سِوَاهُ مِنَ الْمَسَاجِدِ إِلاَّ الْمَسْجِدَ الْحَرَامَ ‏"‏ ‏.‏
Grade: Sahih (Darussalam)
Reference : Sunan Ibn Majah 1405
In-book reference : Book 5, Hadith 603
English translation : Vol. 1, Book 5, Hadith 1405
Mishkat al-Masabih 2532
Umm Salama said she heard God's messenger say, “If anyone puts on the ihram for a hajja or an ‘umra from the Aqsa mosque to the sacred mosque, his former and latter sins will be forgiven him," or, “he will be guaranteed paradise." Abu Dawud and Ibn Majah transmitted it.
وَعَنْ أُمِّ سَلَمَةَ قَالَتْ: سَمِعْتُ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَقُولُ: " مَنْ أَهَلَّ بِحَجَّةٍ أَوْ عُمْرَةٍ مِنَ الْمَسْجِدِ الْأَقْصَى إِلَى الْمَسْجِدِ الْحَرَامِ غُفِرَ لَهُ مَا تَقَدَّمَ مِنْ ذَنْبِهِ وَمَا تَأَخَّرَ أَوْ وَجَبَتْ لَهُ الْجَنَّةُ. رَوَاهُ أَبُو دَاوُدَ وَابْنُ مَاجَهْ
  ضَعِيف   (الألباني) حكم   :
Reference : Mishkat al-Masabih 2532
In-book reference : Book 10, Hadith 26
Sahih al-Bukhari 1197

Narrated Qaza'a Maula:

(freed slave of) Ziyad: I heard Abu Sa`id Al-khudri narrating four things from the Prophet and I appreciated them very much. He said, conveying the words of the Prophet. (1) "A woman should not go on a two day journey except with her husband or a Dhi-Mahram. (2) No fasting is permissible on two days: `Id-ul-Fitr and `Id-ul-Adha. (3) No prayer after two prayers, i.e. after the Fajr prayer till the sunrises and after the `Asr prayer till the sun sets. (4) Do not prepare yourself for a journey except to three Mosques, i.e. Al-Masjid-AI-Haram, the Mosque of Aqsa (Jerusalem) and my Mosque."

حَدَّثَنَا أَبُو الْوَلِيدِ، حَدَّثَنَا شُعْبَةُ، عَنْ عَبْدِ الْمَلِكِ، سَمِعْتُ قَزَعَةَ، مَوْلَى زِيَادٍ قَالَ سَمِعْتُ أَبَا سَعِيدٍ الْخُدْرِيَّ ـ رضى الله عنه ـ يُحَدِّثُ بِأَرْبَعٍ عَنِ النَّبِيِّ صلى الله عليه وسلم فَأَعْجَبْنَنِي وَآنَقْنَنِي قَالَ ‏ "‏ لاَ تُسَافِرِ الْمَرْأَةُ يَوْمَيْنِ إِلاَّ مَعَهَا زَوْجُهَا أَوْ ذُو مَحْرَمٍ‏.‏ وَلاَ صَوْمَ فِي يَوْمَيْنِ الْفِطْرِ وَالأَضْحَى، وَلاَ صَلاَةَ بَعْدَ صَلاَتَيْنِ بَعْدَ الصُّبْحِ حَتَّى تَطْلُعَ الشَّمْسُ، وَبَعْدَ الْعَصْرِ حَتَّى تَغْرُبَ، وَلاَ تُشَدُّ الرِّحَالُ إِلاَّ إِلَى ثَلاَثَةِ مَسَاجِدَ مَسْجِدِ الْحَرَامِ وَمَسْجِدِ الأَقْصَى وَمَسْجِدِي ‏"‏‏.‏
Reference : Sahih al-Bukhari 1197
In-book reference : Book 20, Hadith 9
USC-MSA web (English) reference : Vol. 2, Book 21, Hadith 288
  (deprecated numbering scheme)
Sahih Muslim 665 a

Jabir b. Abdullah reported:

There were some plots vacant around the mosque. Banu Salama decided to shift (to this land) and come near the mosque. This (news) reached the Messenger of Allah (may peace be upon him) and he said to them (Banu Salama): I have received (information) that you intend to shift near the mosque. They said: Yes, Messenger of Allah, we have taken this decision. Upon this he (the Holy Prophet) said: O Banu Salama, live in your houses, for your steps are recorded; live in your houses, for your steps are recorded.
حَدَّثَنَا مُحَمَّدُ بْنُ الْمُثَنَّى، حَدَّثَنَا عَبْدُ الصَّمَدِ بْنُ عَبْدِ الْوَارِثِ، قَالَ سَمِعْتُ أَبِي يُحَدِّثُ، قَالَ حَدَّثَنِي الْجُرَيْرِيُّ، عَنْ أَبِي نَضْرَةَ، عَنْ جَابِرِ بْنِ عَبْدِ اللَّهِ، قَالَ خَلَتِ الْبِقَاعُ حَوْلَ الْمَسْجِدِ فَأَرَادَ بَنُو سَلِمَةَ أَنْ يَنْتَقِلُوا إِلَى قُرْبِ الْمَسْجِدِ فَبَلَغَ ذَلِكَ رَسُولَ اللَّهِ صلى الله عليه وسلم فَقَالَ لَهُمْ ‏"‏ إِنَّهُ بَلَغَنِي أَنَّكُمْ تُرِيدُونَ أَنْ تَنْتَقِلُوا قُرْبَ الْمَسْجِدِ ‏"‏ ‏.‏ قَالُوا نَعَمْ يَا رَسُولَ اللَّهِ قَدْ أَرَدْنَا ذَلِكَ ‏.‏ فَقَالَ ‏"‏ يَا بَنِي سَلِمَةَ دِيَارَكُمْ تُكْتَبْ آثَارُكُمْ دِيَارَكُمْ تُكْتَبْ آثَارُكُمْ ‏"‏ ‏.‏
Reference : Sahih Muslim 665a
In-book reference : Book 5, Hadith 352
USC-MSA web (English) reference : Book 4, Hadith 1407
  (deprecated numbering scheme)
Sunan Ibn Majah 1378
‘Abdullah bin Sa’d said:
“I asked the Messenger of Allah (saw): ‘Which is better prayer in my house or prayer in the mosque?’ He said: ‘Do you not see how close my house is to the mosque?’ But praying in my house is dearer to me than praying in the mosque, apart from the prescribed prayers.’”
حَدَّثَنَا أَبُو بِشْرٍ، بَكْرُ بْنُ خَلَفٍ حَدَّثَنَا عَبْدُ الرَّحْمَنِ بْنُ مَهْدِيٍّ، عَنْ مُعَاوِيَةَ بْنِ صَالِحٍ، عَنِ الْعَلاَءِ بْنِ الْحَارِثِ، عَنْ حَرَامِ بْنِ مُعَاوِيَةَ، عَنْ عَمِّهِ عَبْدِ اللَّهِ بْنِ سَعْدٍ، قَالَ سَأَلْتُ رَسُولَ اللَّهِ ـ صلى الله عليه وسلم ـ أَيُّمَا أَفْضَلُ الصَّلاَةُ فِي بَيْتِي أَوِ الصَّلاَةُ فِي الْمَسْجِدِ قَالَ ‏ "‏ أَلاَ تَرَى إِلَى بَيْتِي مَا أَقْرَبَهُ مِنَ الْمَسْجِدِ فَلأَنْ أُصَلِّيَ فِي بَيْتِي أَحَبُّ إِلَىَّ مِنْ أَنْ أُصَلِّيَ فِي الْمَسْجِدِ إِلاَّ أَنْ تَكُونَ صَلاَةً مَكْتُوبَةً ‏"‏ ‏.‏
Grade: Sahih (Darussalam)
Reference : Sunan Ibn Majah 1378
In-book reference : Book 5, Hadith 576
English translation : Vol. 1, Book 5, Hadith 1378
Sahih Muslim 973 b

'Abbad b. 'Abdullah b. Zubair reported on the authority of 'A'isha that when Sa'd b. Abu Waqqas died, the wives of the Apostle of Allah (may peace be upon him) sent message to bring his bier into the mosque so that they should offer prayer for him. They (the participants of the funeral) did accordingly, and it was placed in front of their apartments and they offered prayer for him. It was brought out of the door (known as) Bab al-Jana'iz which was towards the side of Maqa'id, and the news reached them (the wives of the Holy Prophet) that the people bad criticised this (i. e. offering of funeral prayer in the mosque) saying that it was not desirable to take the bier inside the mosque. This was conveyed to 'A'isha. She said:

How hastily the people criticise that about which they know little. They criticise us for carrying the bier in the mosque. The Messenger of Allah (may peace be upon him) offered not the funeral prayer of Suhail b. Baida' but in the innermost part of the mosque.
وَحَدَّثَنِي مُحَمَّدُ بْنُ حَاتِمٍ، حَدَّثَنَا بَهْزٌ، حَدَّثَنَا وُهَيْبٌ، حَدَّثَنَا مُوسَى بْنُ عُقْبَةَ، عَنْ عَبْدِ الْوَاحِدِ، عَنْ عَبَّادِ بْنِ عَبْدِ اللَّهِ بْنِ الزُّبَيْرِ، يُحَدِّثُ عَنْ عَائِشَةَ، أَنَّهَا لَمَّا تُوُفِّيَ سَعْدُ بْنُ أَبِي وَقَّاصٍ أَرْسَلَ أَزْوَاجُ النَّبِيِّ صلى الله عليه وسلم أَنْ يَمُرُّوا بِجَنَازَتِهِ فِي الْمَسْجِدِ فَيُصَلِّينَ عَلَيْهِ فَفَعَلُوا فَوُقِفَ بِهِ عَلَى حُجَرِهِنَّ يُصَلِّينَ عَلَيْهِ أُخْرِجَ بِهِ مِنْ بَابِ الْجَنَائِزِ الَّذِي كَانَ إِلَى الْمَقَاعِدِ فَبَلَغَهُنَّ أَنَّ النَّاسَ عَابُوا ذَلِكَ وَقَالُوا مَا كَانَتِ الْجَنَائِزُ يُدْخَلُ بِهَا الْمَسْجِدَ ‏.‏ فَبَلَغَ ذَلِكَ عَائِشَةَ فَقَالَتْ مَا أَسْرَعَ النَّاسَ إِلَى أَنْ يَعِيبُوا مَا لاَ عِلْمَ لَهُمْ بِهِ ‏.‏ عَابُوا عَلَيْنَا أَنْ يُمَرَّ بِجَنَازَةٍ فِي الْمَسْجِدِ وَمَا صَلَّى رَسُولُ اللَّهِ صلى الله عليه وسلم عَلَى سُهَيْلِ ابْنِ بَيْضَاءَ إِلاَّ فِي جَوْفِ الْمَسْجِدِ ‏.‏
Reference : Sahih Muslim 973b
In-book reference : Book 11, Hadith 129
USC-MSA web (English) reference : Book 4, Hadith 2124
  (deprecated numbering scheme)
Jami` at-Tirmidhi 323
Abu Sa'eed Al-Khudri narrated:
"A man from Banu Khudrah and a man from Banu Amr bin Awf were disputing about the Masjid that was founded upon Taqwa. The man from Banu Khudrah said: 'It is the Masjid of Allah's Messenger.' The other one said that it was Masjid Qub. So they went to ask Allah's Messenger about that. He said: 'It is this - meaning his Masjid - 'and in that one (Masjid Quba) there is much good.'"
حَدَّثَنَا قُتَيْبَةُ، حَدَّثَنَا حَاتِمُ بْنُ إِسْمَاعِيلَ، عَنْ أُنَيْسِ بْنِ أَبِي يَحْيَى، عَنْ أَبِيهِ، عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ، قَالَ امْتَرَى رَجُلٌ مِنْ بَنِي خُدْرَةَ وَرَجُلٌ مِنْ بَنِي عَمْرِو بْنِ عَوْفٍ فِي الْمَسْجِدِ الَّذِي أُسِّسَ عَلَى التَّقْوَى فَقَالَ الْخُدْرِيُّ هُوَ مَسْجِدُ رَسُولِ اللَّهِ صلى الله عليه وسلم ‏.‏ وَقَالَ الآخَرُ هُوَ مَسْجِدُ قُبَاءٍ ‏.‏ فَأَتَيَا رَسُولَ اللَّهِ صلى الله عليه وسلم فِي ذَلِكَ فَقَالَ ‏ "‏ هُوَ هَذَا يَعْنِي مَسْجِدَهُ وَفِي ذَلِكَ خَيْرٌ كَثِيرٌ ‏"‏ ‏.‏ قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ حَسَنٌ صَحِيحٌ ‏.‏ قَالَ حَدَّثَنَا أَبُو بَكْرٍ عَنْ عَلِيِّ بْنِ عَبْدِ اللَّهِ قَالَ سَأَلْتُ يَحْيَى بْنَ سَعِيدٍ عَنْ مُحَمَّدِ بْنِ أَبِي يَحْيَى الأَسْلَمِيِّ فَقَالَ لَمْ يَكُنْ بِهِ بَأْسٌ وَأَخُوهُ أُنَيْسُ بْنُ أَبِي يَحْيَى أَثْبَتُ مِنْهُ ‏.‏
Grade: Sahih (Darussalam)
Reference : Jami` at-Tirmidhi 323
In-book reference : Book 2, Hadith 175
English translation : Vol. 1, Book 2, Hadith 323

Yahya related to me from Malik from Zayd ibn Rabah and Ubaydullah ibn Abi Abdullah Salman al-Agharr from Abu Hurayra that the Messenger of Allah, may Allah bless him and grant him peace, said, "A prayer in this mosque of mine is better than a thousand prayers in any other mosque, except the Masjid al-Haram (in Makka)."

حَدَّثَنِي يَحْيَى، عَنْ مَالِكٍ، عَنْ زَيْدِ بْنِ رَبَاحٍ، وَعُبَيْدِ اللَّهِ بْنِ أَبِي عَبْدِ اللَّهِ، عَنْ أَبِي عَبْدِ اللَّهِ، سَلْمَانَ الأَغَرِّ عَنْ أَبِي هُرَيْرَةَ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ ‏ "‏ صَلاَةٌ فِي مَسْجِدِي هَذَا خَيْرٌ مِنْ أَلْفِ صَلاَةٍ فِيمَا سِوَاهُ إِلاَّ الْمَسْجِدَ الْحَرَامَ ‏"‏ ‏.‏
USC-MSA web (English) reference : Book 14, Hadith 9
Arabic reference : Book 14, Hadith 466

Yahya related to me from Malik from Musa ibn Uqba that Salim ibn Abdullah heard his father say, "Your claim that the Messenger of Allah, may Allah bless him and grant him peace, entered ihram from this desert of yours is not true, because he only entered ihram from the mosque, i.e. the mosque of Dhu'l-Hulayfa."

وَحَدَّثَنِي عَنْ مَالِكٍ، عَنْ مُوسَى بْنِ عُقْبَةَ، عَنْ سَالِمِ بْنِ عَبْدِ اللَّهِ، أَنَّهُ سَمِعَ أَبَاهُ، يَقُولُ بَيْدَاؤُكُمْ هَذِهِ الَّتِي تَكْذِبُونَ عَلَى رَسُولِ اللَّهِ صلى الله عليه وسلم فِيهَا مَا أَهَلَّ رَسُولُ اللَّهِ صلى الله عليه وسلم إِلاَّ مِنْ عِنْدِ الْمَسْجِدِ يَعْنِي مَسْجِدَ ذِي الْحُلَيْفَةِ ‏.‏
USC-MSA web (English) reference : Book 20, Hadith 30
Arabic reference : Book 20, Hadith 738
Sahih al-Bukhari 892

Narrated Ibn `Abbas:

The first Jumua prayer which was offered after a Jumua prayer offered at the mosque of Allah's Apostle took place in the mosque of the tribe of `Abdul Qais at Jawathi in Bahrain.

حَدَّثَنَا مُحَمَّدُ بْنُ الْمُثَنَّى، قَالَ حَدَّثَنَا أَبُو عَامِرٍ الْعَقَدِيُّ، قَالَ حَدَّثَنَا إِبْرَاهِيمُ بْنُ طَهْمَانَ، عَنْ أَبِي جَمْرَةَ الضُّبَعِيِّ، عَنِ ابْنِ عَبَّاسٍ، أَنَّهُ قَالَ إِنَّ أَوَّلَ جُمُعَةٍ جُمِّعَتْ بَعْدَ جُمُعَةٍ فِي مَسْجِدِ رَسُولِ اللَّهِ صلى الله عليه وسلم فِي مَسْجِدِ عَبْدِ الْقَيْسِ بِجُوَاثَى مِنَ الْبَحْرَيْنِ‏.‏
Reference : Sahih al-Bukhari 892
In-book reference : Book 11, Hadith 17
USC-MSA web (English) reference : Vol. 2, Book 13, Hadith 17
  (deprecated numbering scheme)
Sahih Muslim 1394 a

Abu Huraira (Allah be pleased with him) narrated It directly from Allah's Apostle' (may peace be upon him) having said this:

A prayer in my mosque is a thousand times more excellent than a prayer in any other mosque, except Masjid al-Haram (Mosque of the Ka'ba).
حَدَّثَنِي عَمْرٌو النَّاقِدُ، وَزُهَيْرُ بْنُ حَرْبٍ، - وَاللَّفْظُ لِعَمْرٍو - قَالاَ حَدَّثَنَا سُفْيَانُ، بْنُ عُيَيْنَةَ عَنِ الزُّهْرِيِّ، عَنْ سَعِيدِ بْنِ الْمُسَيَّبِ، عَنْ أَبِي هُرَيْرَةَ، يَبْلُغُ بِهِ النَّبِيَّ صلى الله عليه وسلم قَالَ ‏ "‏ صَلاَةٌ فِي مَسْجِدِي هَذَا أَفْضَلُ مِنْ أَلْفِ صَلاَةٍ فِيمَا سِوَاهُ إِلاَّ الْمَسْجِدَ الْحَرَامَ‏"‏ ‏.‏
Reference : Sahih Muslim 1394a
In-book reference : Book 15, Hadith 578
USC-MSA web (English) reference : Book 7, Hadith 3209
  (deprecated numbering scheme)
Sunan an-Nasa'i 699
Abu Umamah bin Sahl bin Hunaif said:
"My father said: 'The Messenger of Allah (PBUH) said: 'Whoever goes out to his Masjid - the Masjid of Quba' and prays therein, that will be equivalent to 'Umrah.'"
أَخْبَرَنَا قُتَيْبَةُ، قَالَ حَدَّثَنَا مُجَمِّعُ بْنُ يَعْقُوبَ، عَنْ مُحَمَّدِ بْنِ سُلَيْمَانَ الْكِرْمَانِيِّ، قَالَ سَمِعْتُ أَبَا أُمَامَةَ بْنَ سَهْلِ بْنِ حُنَيْفٍ، قَالَ قَالَ أَبِي قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏ "‏ مَنْ خَرَجَ حَتَّى يَأْتِيَ هَذَا الْمَسْجِدَ مَسْجِدَ قُبَاءٍ فَصَلَّى فِيهِ كَانَ لَهُ عِدْلَ عُمْرَةٍ ‏"‏ ‏.‏
Grade: Hasan (Darussalam)
Reference : Sunan an-Nasa'i 699
In-book reference : Book 8, Hadith 12
English translation : Vol. 1, Book 8, Hadith 700
Sunan Abi Dawud 1771
Ibn `Umar said this is your al-Baida’ about which you ascribe falsehood to the Messenger of Allah (SWAS). He did not raise his voice in talbiyah but from the masjid, i.e. the mosque of Dhu al-Hulaifah.
حَدَّثَنَا الْقَعْنَبِيُّ، عَنْ مَالِكٍ، عَنْ مُوسَى بْنِ عُقْبَةَ، عَنْ سَالِمِ بْنِ عَبْدِ اللَّهِ، عَنْ أَبِيهِ، أَنَّهُ قَالَ بَيْدَاؤُكُمْ هَذِهِ الَّتِي تَكْذِبُونَ عَلَى رَسُولِ اللَّهِ صلى الله عليه وسلم فِيهَا مَا أَهَلَّ رَسُولُ اللَّهِ صلى الله عليه وسلم إِلاَّ مِنْ عِنْدِ الْمَسْجِدِ يَعْنِي مَسْجِدَ ذِي الْحُلَيْفَةِ ‏.‏
Grade: Sahih (Al-Albani)  صحيح   (الألباني) حكم   :
Reference : Sunan Abi Dawud 1771
In-book reference : Book 11, Hadith 51
English translation : Book 10, Hadith 1767
Mishkat al-Masabih 1656
Abu Salama b. ‘Abd ar-Rahman told how, when Sa'd b. Abu Waqqas died, ‘A’isha said, “Take him into the mosque so that I may pray over him.” When objection was made to this she said, “I swear by God that God’s messenger prayed in the mosque over Suhail and his brother, the sons of Baida’. ” Muslim transmitted it.
وَعَنْ أَبِي سَلَمَةَ بْنِ عَبْدِ الرَّحْمَنِ أَنَّ عَائِشَة لما توفّي سعد بن أبي وَقاص قَالَت: ادخُلُوا بِهِ الْمَسْجِد حَتَّى أُصَلِّي عَلَيْهِ فَأُنْكِرَ ذَلِكَ عَلَيْهَا فَقَالَتْ: وَاللَّهِ لَقَدْ صَلَّى رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ عَلَى ابْنَيْ بَيْضَاءَ فِي الْمَسْجِدِ: سُهَيْلٍ وَأَخِيهِ. رَوَاهُ مُسلم
  صَحِيحٌ   (الألباني) حكم   :
Reference : Mishkat al-Masabih 1656
In-book reference : Book 5, Hadith 131
Sahih Muslim 663 a

Ubayy b. Ka'b reported:

There was a man, and I do not know of any other man, whose house was farther than his from the mosque and he never missed the prayer (in congregation). It was said to him or I said to him: It you were to buy a donkey you could ride upon it In the dark nights and in the burning sand. He said: I do not like my house to be situated by the side of the mosque, for I (eagerly) desire that my steps towards the mosque and back from it, should be recorded when I return to my family. Upon this the Messenger of Allah (may peace be upon him) said: Allah has gathered all (rewards) for you.
حَدَّثَنَا يَحْيَى بْنُ يَحْيَى، أَخْبَرَنَا عَبْثَرٌ، عَنْ سُلَيْمَانَ التَّيْمِيِّ، عَنْ أَبِي عُثْمَانَ النَّهْدِيِّ، عَنْ أُبَىِّ بْنِ كَعْبٍ، قَالَ كَانَ رَجُلٌ لاَ أَعْلَمُ رَجُلاً أَبْعَدَ مِنَ الْمَسْجِدِ مِنْهُ وَكَانَ لاَ تُخْطِئُهُ صَلاَةٌ - قَالَ - فَقِيلَ لَهُ أَوْ قُلْتُ لَهُ لَوِ اشْتَرَيْتَ حِمَارًا تَرْكَبُهُ فِي الظَّلْمَاءِ وَفِي الرَّمْضَاءِ ‏.‏ قَالَ مَا يَسُرُّنِي أَنَّ مَنْزِلِي إِلَى جَنْبِ الْمَسْجِدِ إِنِّي أُرِيدُ أَنْ يُكْتَبَ لِي مَمْشَاىَ إِلَى الْمَسْجِدِ وَرُجُوعِي إِذَا رَجَعْتُ إِلَى أَهْلِي ‏.‏ فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏ "‏ قَدْ جَمَعَ اللَّهُ لَكَ ذَلِكَ كُلَّهُ ‏"‏ ‏.‏
Reference : Sahih Muslim 663a
In-book reference : Book 5, Hadith 347
USC-MSA web (English) reference : Book 4, Hadith 1402
  (deprecated numbering scheme)
Sunan Abi Dawud 4308

Salih ibn Dirham said:

We went on the pilgrimage and met a man who asked us: Is there a town near you called al-Ubullah? We said: Yes. He said: Is there any of you who will undertake to pray two or four rak'ahs on my behalf in the mosque of al-Ashshar, stating "they are on behalf of AbuHurayrah"?

He (Abu Hurayrah) said: I heard my friend AbulQasim (saws) say: On the Day of Resurrection Allah will raise martyrs from the mosque of al-Ashshar, who will be the only ones to rise with the martyrs of Badr.

Abu Dawud said: This mosque is near the river.

حَدَّثَنَا مُحَمَّدُ بْنُ الْمُثَنَّى، حَدَّثَنِي إِبْرَاهِيمُ بْنُ صَالِحِ بْنِ دِرْهَمٍ، قَالَ سَمِعْتُ أَبِي يَقُولُ، انْطَلَقْنَا حَاجِّينَ فَإِذَا رَجُلٌ فَقَالَ لَنَا إِلَى جَنْبِكُمْ قَرْيَةٌ يُقَالُ لَهَا الأُبُلَّةُ قُلْنَا نَعَمْ ‏.‏ قَالَ مَنْ يَضْمَنُ لِي مِنْكُمْ أَنْ يُصَلِّيَ لِي فِي مَسْجِدِ الْعَشَّارِ رَكْعَتَيْنِ أَوْ أَرْبَعًا وَيَقُولَ هَذِهِ لأَبِي هُرَيْرَةَ سَمِعْتُ خَلِيلِي أَبَا الْقَاسِمِ صلى الله عليه وسلم يَقُولُ ‏ "‏ إِنَّ اللَّهَ يَبْعَثُ مِنْ مَسْجِدِ الْعَشَّارِ يَوْمَ الْقِيَامَةِ شُهَدَاءَ لاَ يَقُومُ مَعَ شُهَدَاءِ بَدْرٍ غَيْرُهُمْ ‏"‏ ‏.‏ قَالَ أَبُو دَاوُدَ هَذَا الْمَسْجِدُ مِمَّا يَلِي النَّهْرَ ‏.‏
Grade: Da'if (Al-Albani)  ضعيف   (الألباني) حكم   :
Reference : Sunan Abi Dawud 4308
In-book reference : Book 39, Hadith 18
English translation : Book 38, Hadith 4294
Sahih Muslim 664

Jabir b. 'Abdullah narrated:

Our houses were situated far away from the mosque; we, therefore, decided to sell our houses so that we may be able to come near the mosque. The Messenger of Allah (may peace be upon him) forbade us (to do so) and said: There is for every step (towards the mosque) a degree (of reward) for you.
وَحَدَّثَنَا حَجَّاجُ بْنُ الشَّاعِرِ، حَدَّثَنَا رَوْحُ بْنُ عُبَادَةَ، حَدَّثَنَا زَكَرِيَّاءُ بْنُ إِسْحَاقَ، حَدَّثَنَا أَبُو الزُّبَيْرِ، قَالَ سَمِعْتُ جَابِرَ بْنَ عَبْدِ اللَّهِ، قَالَ كَانَتْ دِيَارُنَا نَائِيَةً عَنِ الْمَسْجِدِ، فَأَرَدْنَا أَنْ نَبِيعَ، بُيُوتَنَا فَنَقْتَرِبَ مِنَ الْمَسْجِدِ فَنَهَانَا رَسُولُ اللَّهِ صلى الله عليه وسلم فَقَالَ ‏ "‏ إِنَّ لَكُمْ بِكُلِّ خُطْوَةٍ دَرَجَةً ‏"‏ ‏.‏
Reference : Sahih Muslim 664
In-book reference : Book 5, Hadith 351
USC-MSA web (English) reference : Book 4, Hadith 1406
  (deprecated numbering scheme)
Sunan Ibn Majah 3695
It was narrated from Abu Hurairah that:
"a man entered the masjid, and the Messenger of Allah(SAW) was sitting in a corner of the mosque. He prayed, then he came and greeted him with Salam(peace), and he said: 'Wa 'alaikassalm."
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا عَبْدُ اللَّهِ بْنُ نُمَيْرٍ، حَدَّثَنَا عُبَيْدُ اللَّهِ بْنُ عُمَرَ، حَدَّثَنَا سَعِيدُ بْنُ أَبِي سَعِيدٍ الْمَقْبُرِيُّ، عَنْ أَبِي هُرَيْرَةَ، أَنَّ رَجُلاً، دَخَلَ الْمَسْجِدَ وَرَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ جَالِسٌ فِي نَاحِيَةِ الْمَسْجِدِ فَصَلَّى ثُمَّ جَاءَ فَسَلَّمَ فَقَالَ ‏ "‏ وَعَلَيْكَ السَّلاَمُ ‏"‏ ‏.‏
Grade: Sahih (Darussalam)
Reference : Sunan Ibn Majah 3695
In-book reference : Book 33, Hadith 39
English translation : Vol. 5, Book 33, Hadith 3695
Sahih Muslim 1394 d

Yahya b. Sa'id (Allah be pleased with him) reported:

I said to Abu Salih: Did you hear Abu Huraira (Allah be pleased with him) making a mention of the excellence of prayer in the mosque of Allah's Messenger (may peace be upon him)? He said: No (I did not hear directly from Abu Huraira), but I heard Abdullah b. Ibrahlm b. Qariz; say that' he had heard from Abu Huraira (Allah be pleased with him) that Allah's Messenger (may peace be upon him) had said: Prayer in this mosque of mine is better than a thousand prayers. or. is like one thousand prayers observed in other mosques besides It, except that it be in al-Masjid al-Haram.
حَدَّثَنَا مُحَمَّدُ بْنُ الْمُثَنَّى، وَابْنُ أَبِي عُمَرَ، جَمِيعًا عَنِ الثَّقَفِيِّ، - قَالَ ابْنُ الْمُثَنَّى حَدَّثَنَا عَبْدُ الْوَهَّابِ، - قَالَ سَمِعْتُ يَحْيَى بْنَ سَعِيدٍ، يَقُولُ سَأَلْتُ أَبَا صَالِحٍ هَلْ سَمِعْتَ أَبَا هُرَيْرَةَ، يَذْكُرُ فَضْلَ الصَّلاَةِ فِي مَسْجِدِ رَسُولِ اللَّهِ صلى الله عليه وسلم فَقَالَ لاَ وَلَكِنْ أَخْبَرَنِي عَبْدُ اللَّهِ بْنُ إِبْرَاهِيمَ بْنِ قَارِظٍ أَنَّهُ سَمِعَ أَبَا هُرَيْرَةَ يُحَدِّثُ أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ ‏ "‏ صَلاَةٌ فِي مَسْجِدِي هَذَا خَيْرٌ مِنْ أَلْفِ صَلاَةٍ - أَوْ كَأَلْفِ صَلاَةٍ - فِيمَا سِوَاهُ مِنَ الْمَسَاجِدِ إِلاَّ أَنْ يَكُونَ الْمَسْجِدَ الْحَرَامَ ‏"‏ ‏.
Reference : Sahih Muslim 1394d
In-book reference : Book 15, Hadith 581
USC-MSA web (English) reference : Book 7, Hadith 3212
  (deprecated numbering scheme)
Sunan Abi Dawud 1380

Narrated Abdullah ibn Unays al-Juhani:

I said to the Messenger of Allah: I have a place in the desert where I live and in which I pray, with the praise of Allah; but give me command about a night when I come to this mosque.

He replied: Come on the twenty third night.

I (a sub-narrator, Muhammad ibn Ibrahim) said to his (Abdullah ibn Unays's) son: How would your father act?

He replied: He used to enter the mosque when he had offered the afternoon prayer, and did not leave it for any purpose till he prayed the morning prayer. Then when he had prayed the morning prayer, he found his riding beast at the door of the mosque, mounted it and got back to his desert.

حَدَّثَنَا أَحْمَدُ بْنُ يُونُسَ، حَدَّثَنَا زُهَيْرٌ، أَخْبَرَنَا مُحَمَّدُ بْنُ إِسْحَاقَ، حَدَّثَنَا مُحَمَّدُ بْنُ إِبْرَاهِيمَ، عَنِ ابْنِ عَبْدِ اللَّهِ بْنِ أُنَيْسٍ الْجُهَنِيِّ، عَنْ أَبِيهِ، قَالَ قُلْتُ يَا رَسُولَ اللَّهِ إِنَّ لِي بَادِيَةً أَكُونُ فِيهَا وَأَنَا أُصَلِّي فِيهَا بِحَمْدِ اللَّهِ فَمُرْنِي بِلَيْلَةٍ أَنْزِلُهَا إِلَى هَذَا الْمَسْجِدِ ‏.‏ فَقَالَ ‏ "‏ انْزِلْ لَيْلَةَ ثَلاَثٍ وَعِشْرِينَ ‏"‏ ‏.‏ فَقُلْتُ لاِبْنِهِ كَيْفَ كَانَ أَبُوكَ يَصْنَعُ قَالَ كَانَ يَدْخُلُ الْمَسْجِدَ إِذَا صَلَّى الْعَصْرَ فَلاَ يَخْرُجُ مِنْهُ لِحَاجَةٍ حَتَّى يُصَلِّيَ الصُّبْحَ فَإِذَا صَلَّى الصُّبْحَ وَجَدَ دَابَّتَهُ عَلَى بَابِ الْمَسْجِدِ فَجَلَسَ عَلَيْهَا فَلَحِقَ بِبَادِيَتِهِ ‏.‏
Grade: Hasan Sahih (Al-Albani)  حسن صحيح   (الألباني) حكم   :
Reference : Sunan Abi Dawud 1380
In-book reference : Book 6, Hadith 10
English translation : Book 6, Hadith 1375
Sunan Ibn Majah 4001
It was narrated that ‘Aishah said:
“While the Messenger of Allah (saw) was sitting in the mosque, a woman from Muzainah (tribe) entered, trailing her garment in the mosque. The Prophet (saw) said: ‘O people, tell your women not to wear their adornments and show pride in the mosque, for the Children of Israel were not cursed until their women wore adornments and walked proudly in their places of worship.’”
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، وَعَلِيُّ بْنُ مُحَمَّدٍ، قَالاَ حَدَّثَنَا عُبَيْدُ اللَّهِ بْنُ مُوسَى، عَنْ مُوسَى بْنِ عُبَيْدَةَ، عَنْ دَاوُدَ بْنِ مُدْرِكٍ، عَنْ عُرْوَةَ بْنِ الزُّبَيْرِ، عَنْ عَائِشَةَ، قَالَتْ بَيْنَمَا رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ جَالِسٌ فِي الْمَسْجِدِ إِذْ دَخَلَتِ امْرَأَةٌ مِنْ مُزَيْنَةَ تَرْفُلُ فِي زِينَةٍ لَهَا فِي الْمَسْجِدِ فَقَالَ النَّبِيُّ ـ صلى الله عليه وسلم ـ ‏ "‏ يَا أَيُّهَا النَّاسُ انْهَوْا نِسَاءَكُمْ عَنْ لُبْسِ الزِّينَةِ وَالتَّبَخْتُرِ فِي الْمَسْجِدِ فَإِنَّ بَنِي إِسْرَائِيلَ لَمْ يُلْعَنُوا حَتَّى لَبِسَ نِسَاؤُهُمُ الزِّينَةَ وَتَبَخْتَرْنَ فِي الْمَسَاجِدِ ‏"‏ ‏.‏
Grade: Da’if (Darussalam)
Reference : Sunan Ibn Majah 4001
In-book reference : Book 36, Hadith 76
English translation : Vol. 5, Book 36, Hadith 4001
Sahih Muslim 1394 b

Abu Huraira (Allah be pleased with him) reported Allah's Messenger (may peace be upon him) as saying:

Prayer in my mosque is more excellent than a thousand prayers observed in other mosques except the Masjid al- Haram.
حَدَّثَنِي مُحَمَّدُ بْنُ رَافِعٍ، وَعَبْدُ بْنُ حُمَيْدٍ، قَالَ عَبْدٌ أَخْبَرَنَا وَقَالَ ابْنُ رَافِعٍ، حَدَّثَنَا عَبْدُ الرَّزَّاقِ، أَخْبَرَنَا مَعْمَرٌ، عَنِ الزُّهْرِيِّ، عَنْ سَعِيدِ بْنِ الْمُسَيَّبِ، عَنْ أَبِي هُرَيْرَةَ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏ "‏ صَلاَةٌ فِي مَسْجِدِي هَذَا خَيْرٌ مِنْ أَلْفِ صَلاَةٍ فِي غَيْرِهِ مِنَ الْمَسَاجِدِ إِلاَّ الْمَسْجِدَ الْحَرَامَ ‏"‏ ‏.‏
Reference : Sahih Muslim 1394b
In-book reference : Book 15, Hadith 579
USC-MSA web (English) reference : Book 7, Hadith 3210
  (deprecated numbering scheme)
Riyad as-Salihin 1700
As-Sa'ib bin Yazid (May Allah be pleased with him) said:
While I was in the mosque, someone threw a pebble at me, and when I looked up, I saw that it was 'Umar bin Al-Khattab, who said: "Go and call me these two men." I brought them and 'Umar (May Allah be pleased with him) asked them: "Where are you from?" On their replying that they belonged to At-Taif, he said: "Had you been the inhabitants of Al-Madinah, I would have given you a beating for raising your voices in the mosque of the Messenger of Allah (PBUH)."

[Al- Bukhari].

وعن السائب بن زيد الصحابي رضي الله عنه قال‏:‏ كنت في المسجد فحصبني رجل، فنظرت فإذا عمر بن الخطاب رضي الله عنه فقال‏:‏ اذهب فائتني بهذين، فجئته بهما، فقال‏:‏ من أين أنتما‏؟‏ فقالا‏:‏ من أهل الطائف، فقال‏:‏ لو كنتما من أهل البلد، لأوجعتكما، ترفعان أصواتكما في مسجد رسول الله صلى الله عليه وسلم ‏!‏ ‏(‏‏(‏رواه البخاري‏)‏‏)‏‏.‏
Reference : Riyad as-Salihin 1700
In-book reference : Book 17, Hadith 190
Sahih al-Bukhari 486
See translation for hadith 484 above
وَأَنَّ ابْنَ عُمَرَ كَانَ يُصَلِّي إِلَى الْعِرْقِ الَّذِي عِنْدَ مُنْصَرَفِ الرَّوْحَاءِ، وَذَلِكَ الْعِرْقُ انْتِهَاءُ طَرَفِهِ عَلَى حَافَةِ الطَّرِيقِ، دُونَ الْمَسْجِدِ الَّذِي بَيْنَهُ وَبَيْنَ الْمُنْصَرَفِ، وَأَنْتَ ذَاهِبٌ إِلَى مَكَّةَ‏.‏ وَقَدِ ابْتُنِيَ ثَمَّ مَسْجِدٌ، فَلَمْ يَكُنْ عَبْدُ اللَّهِ يُصَلِّي فِي ذَلِكَ الْمَسْجِدِ، كَانَ يَتْرُكُهُ عَنْ يَسَارِهِ وَوَرَاءَهُ، وَيُصَلِّي أَمَامَهُ إِلَى الْعِرْقِ نَفْسِهِ، وَكَانَ عَبْدُ اللَّهِ يَرُوحُ مِنَ الرَّوْحَاءِ، فَلاَ يُصَلِّي الظُّهْرَ حَتَّى يَأْتِيَ ذَلِكَ الْمَكَانَ فَيُصَلِّي فِيهِ الظُّهْرَ، وَإِذَا أَقْبَلَ مِنْ مَكَّةَ فَإِنْ مَرَّ بِهِ قَبْلَ الصُّبْحِ بِسَاعَةٍ أَوْ مِنْ آخِرِ السَّحَرِ عَرَّسَ حَتَّى يُصَلِّيَ بِهَا الصُّبْحَ‏.‏
Reference : Sahih al-Bukhari 486
In-book reference : Book 8, Hadith 133
USC-MSA web (English) reference : Vol. 1, Book 8, Hadith 471
  (deprecated numbering scheme)

Yahya related to me from Malik from Abu'z Zubayr al-Makki that Abu Maiz al-Aslami Abdullah ibn Sufyan told him that once, when he was sitting with Abdullah ibn Umar, a woman came to ask him for an opinion. She said, "I set out intending to do tawaf of the House, but then, when I got to the gate of the Mosque, I started bleeding, so I went back until it had left me. Then I set out again, and then, when I got to the gate of the mosque, I started bleeding, so I went back until it had left me. Then I set off again, and then, when I got to the gate of the mosque, I started bleeding." Abdullah ibn Umar said, "That is only an impulse from Shaytan. Do ghusl, then bind your private parts with a cloth and do tawaf."

وَحَدَّثَنِي عَنْ مَالِكٍ، عَنْ أَبِي الزُّبَيْرِ الْمَكِّيِّ، أَنَّ أَبَا مَاعِزٍ الأَسْلَمِيَّ عَبْدَ اللَّهِ بْنَ سُفْيَانَ، أَخْبَرَهُ أَنَّهُ، كَانَ جَالِسًا مَعَ عَبْدِ اللَّهِ بْنِ عُمَرَ فَجَاءَتْهُ امْرَأَةٌ تَسْتَفْتِيهِ فَقَالَتْ إِنِّي أَقْبَلْتُ أُرِيدُ أَنْ أَطُوفَ بِالْبَيْتِ حَتَّى إِذَا كُنْتُ بِبَابِ الْمَسْجِدِ هَرَقْتُ الدِّمَاءَ فَرَجَعْتُ حَتَّى ذَهَبَ ذَلِكَ عَنِّي ثُمَّ أَقْبَلْتُ حَتَّى إِذَا كُنْتُ عِنْدَ بَابِ الْمَسْجِدِ هَرَقْتُ الدِّمَاءَ فَرَجَعْتُ حَتَّى ذَهَبَ ذَلِكَ عَنِّي ثُمَّ أَقْبَلْتُ حَتَّى إِذَا كُنْتُ عِنْدَ بَابِ الْمَسْجِدِ هَرَقْتُ الدِّمَاءَ ‏.‏ فَقَالَ عَبْدُ اللَّهِ بْنُ عُمَرَ إِنَّمَا ذَلِكَ رَكْضَةٌ مِنَ الشَّيْطَانِ فَاغْتَسِلِي ثُمَّ اسْتَثْفِرِي بِثَوْبٍ ثُمَّ طُوفِي ‏.‏
USC-MSA web (English) reference : Book 20, Hadith 125
Arabic reference : Book 20, Hadith 828
Sahih al-Bukhari 1995

Narrated Abu Sa`id Al-Khudri:

(who fought in twelve Ghazawat in the company of the Prophet). I heard four things from the Prophet and they won my admiration. He said; -1. "No lady should travel on a journey of two days except with her husband or a Dhi-Mahram; -2. "No fasting is permissible on the two days of Id-ul-Fitr and `Id-ul-Adha; -3. "No prayer (may be offered) after the morning compulsory prayer until the sun rises; and no prayer after the `Asr prayer till the sun sets; -4. "One should travel only for visiting three Masjid (Mosques): Masjid-al-Haram (Mecca), Masjid-al- Aqsa (Jerusalem), and this (my) Mosque (at Medina).

حَدَّثَنَا حَجَّاجُ بْنُ مِنْهَالٍ، حَدَّثَنَا شُعْبَةُ، حَدَّثَنَا عَبْدُ الْمَلِكِ بْنُ عُمَيْرٍ، قَالَ سَمِعْتُ قَزَعَةَ، قَالَ سَمِعْتُ أَبَا سَعِيدٍ الْخُدْرِيَّ ـ رضى الله عنه ـ وَكَانَ غَزَا مَعَ النَّبِيِّ صلى الله عليه وسلم ثِنْتَىْ عَشْرَةَ غَزْوَةً قَالَ سَمِعْتُ أَرْبَعًا مِنَ النَّبِيِّ صلى الله عليه وسلم فَأَعْجَبْنَنِي قَالَ ‏ "‏ لاَ تُسَافِرِ الْمَرْأَةُ مَسِيرَةَ يَوْمَيْنِ إِلاَّ وَمَعَهَا زَوْجُهَا أَوْ ذُو مَحْرَمٍ، وَلاَ صَوْمَ فِي يَوْمَيْنِ الْفِطْرِ وَالأَضْحَى، وَلاَ صَلاَةَ بَعْدَ الصُّبْحِ حَتَّى تَطْلُعَ الشَّمْسُ، وَلاَ بَعْدَ الْعَصْرِ حَتَّى تَغْرُبَ، وَلاَ تُشَدُّ الرِّحَالُ إِلاَّ إِلَى ثَلاَثَةِ مَسَاجِدَ مَسْجِدِ الْحَرَامِ، وَمَسْجِدِ الأَقْصَى، وَمَسْجِدِي هَذَا ‏"‏‏.‏
Reference : Sahih al-Bukhari 1995
In-book reference : Book 30, Hadith 101
USC-MSA web (English) reference : Vol. 3, Book 31, Hadith 215
  (deprecated numbering scheme)
Sahih al-Bukhari 4371

Narrated Ibn `Abbas:

The first Friday (i.e. Jumua) prayer offered after the Friday Prayer offered at the Mosque of Allah's Apostle was offered at the mosque of `Abdul Qais situated at Jawathi, that is a village at Al Bahrain .

حَدَّثَنِي عَبْدُ اللَّهِ بْنُ مُحَمَّدٍ الْجُعْفِيُّ، حَدَّثَنَا أَبُو عَامِرٍ عَبْدُ الْمَلِكِ، حَدَّثَنَا إِبْرَاهِيمُ ـ هُوَ ابْنُ طَهْمَانَ ـ عَنْ أَبِي جَمْرَةَ، عَنِ ابْنِ عَبَّاسٍ، رضى الله عنهما قَالَ أَوَّلُ جُمُعَةٍ جُمِّعَتْ بَعْدَ جُمُعَةٍ جُمِّعَتْ فِي مَسْجِدِ رَسُولِ اللَّهِ صلى الله عليه وسلم فِي مَسْجِدِ عَبْدِ الْقَيْسِ بِجُوَاثَى‏.‏ يَعْنِي قَرْيَةً مِنَ الْبَحْرَيْنِ‏.‏
Reference : Sahih al-Bukhari 4371
In-book reference : Book 64, Hadith 397
USC-MSA web (English) reference : Vol. 5, Book 59, Hadith 657
  (deprecated numbering scheme)
Sahih al-Bukhari 1190

Narrated Abu Huraira:

Allah's Apostle said, "One prayer in my Mosque is better than one thousand prayers in any other mosque excepting Al-Masjid-AI-Haram."

حَدَّثَنَا عَبْدُ اللَّهِ بْنُ يُوسُفَ، قَالَ أَخْبَرَنَا مَالِكٌ، عَنْ زَيْدِ بْنِ رَبَاحٍ، وَعُبَيْدِ اللَّهِ بْنِ أَبِي عَبْدِ اللَّهِ الأَغَرِّ، عَنْ أَبِي عَبْدِ اللَّهِ الأَغَرِّ، عَنْ أَبِي هُرَيْرَةَ ـ رضى الله عنه ـ أَنَّ النَّبِيَّ صلى الله عليه وسلم قَالَ ‏ "‏ صَلاَةٌ فِي مَسْجِدِي هَذَا خَيْرٌ مِنْ أَلْفِ صَلاَةٍ فِيمَا سِوَاهُ إِلاَّ الْمَسْجِدَ الْحَرَامَ ‏"‏‏.‏
Reference : Sahih al-Bukhari 1190
In-book reference : Book 20, Hadith 3
USC-MSA web (English) reference : Vol. 2, Book 21, Hadith 282
  (deprecated numbering scheme)
Sahih al-Bukhari 477

Narrated Abu Huraira:

The Prophet said, "The prayer offered in congregation is twenty five times more superior (in reward) to the prayer offered alone in one's house or in a business center, because if one performs ablution and does it perfectly, and then proceeds to the mosque with the sole intention of praying, then for each step which he takes towards the mosque, Allah upgrades him a degree in reward and (forgives) crosses out one sin till he enters the mosque. When he enters the mosque he is considered in prayer as long as he is waiting for the prayer and the angels keep on asking for Allah's forgiveness for him and they keep on saying: 'O Allah! Be Merciful to him, O Allah! Forgive him, as long as he keeps on sitting at his praying place and does not pass wind. (See Hadith No. 620).

حَدَّثَنَا مُسَدَّدٌ، قَالَ حَدَّثَنَا أَبُو مُعَاوِيَةَ، عَنِ الأَعْمَشِ، عَنْ أَبِي صَالِحٍ، عَنْ أَبِي هُرَيْرَةَ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ ‏ "‏ صَلاَةُ الْجَمِيعِ تَزِيدُ عَلَى صَلاَتِهِ فِي بَيْتِهِ، وَصَلاَتِهِ فِي سُوقِهِ خَمْسًا وَعِشْرِينَ دَرَجَةً، فَإِنَّ أَحَدَكُمْ إِذَا تَوَضَّأَ فَأَحْسَنَ وَأَتَى الْمَسْجِدَ، لاَ يُرِيدُ إِلاَّ الصَّلاَةَ، لَمْ يَخْطُ خُطْوَةً إِلاَّ رَفَعَهُ اللَّهُ بِهَا دَرَجَةً، وَحَطَّ عَنْهُ خَطِيئَةً، حَتَّى يَدْخُلَ الْمَسْجِدَ، وَإِذَا دَخَلَ الْمَسْجِدَ كَانَ فِي صَلاَةٍ مَا كَانَتْ تَحْبِسُهُ، وَتُصَلِّي ـ يَعْنِي عَلَيْهِ ـ الْمَلاَئِكَةُ مَا دَامَ فِي مَجْلِسِهِ الَّذِي يُصَلِّي فِيهِ اللَّهُمَّ اغْفِرْ لَهُ، اللَّهُمَّ ارْحَمْهُ، مَا لَمْ يُحْدِثْ فِيهِ ‏"‏‏.‏
Reference : Sahih al-Bukhari 477
In-book reference : Book 8, Hadith 125
USC-MSA web (English) reference : Vol. 1, Book 8, Hadith 466
  (deprecated numbering scheme)
Sahih al-Bukhari 1864

Narrated Qaza'a the slave of Ziyad:

Abu Sa`id who participated in twelve Ghazawat with the Prophet said, "I heard four things from Allah's Apostle (or I narrate them from the Prophet ) which won my admiration and appreciation. They are: -1. "No lady should travel without her husband or without a Dhu-Mahram for a two-days' journey. -2. No fasting is permissible on two days of `Id-ul-Fitr, and `Id-al-Adha. -3. No prayer (may be offered) after two prayers: after the `Asr prayer till the sun set and after the morning prayer till the sun rises. -4. Not to travel (for visiting) except for three mosques: Masjid-al-Haram (in Mecca), my Mosque (in Medina), and Masjid-al-Aqsa (in Jerusalem).

حَدَّثَنَا سُلَيْمَانُ بْنُ حَرْبٍ، حَدَّثَنَا شُعْبَةُ، عَنْ عَبْدِ الْمَلِكِ بْنِ عُمَيْرٍ، عَنْ قَزَعَةَ، مَوْلَى زِيَادٍ قَالَ سَمِعْتُ أَبَا سَعِيدٍ ـ وَقَدْ غَزَا مَعَ النَّبِيِّ صلى الله عليه وسلم ثِنْتَىْ عَشْرَةَ ـ غَزْوَةً ـ قَالَ أَرْبَعٌ سَمِعْتُهُنَّ مِنْ رَسُولِ اللَّهِ صلى الله عليه وسلم أَوْ قَالَ يُحَدِّثُهُنَّ عَنِ النَّبِيِّ صلى الله عليه وسلم ـ فَأَعْجَبْنَنِي وَآنَقْنَنِي ‏ "‏ أَنْ لاَ تُسَافِرَ امْرَأَةٌ مَسِيرَةَ يَوْمَيْنِ لَيْسَ مَعَهَا زَوْجُهَا أَوْ ذُو مَحْرَمٍ، وَلاَ صَوْمَ يَوْمَيْنِ الْفِطْرِ وَالأَضْحَى، وَلاَ صَلاَةَ بَعْدَ صَلاَتَيْنِ بَعْدَ الْعَصْرِ حَتَّى تَغْرُبَ الشَّمْسُ، وَبَعْدَ الصُّبْحِ حَتَّى تَطْلُعَ الشَّمْسُ، وَلاَ تُشَدُّ الرِّحَالُ إِلاَّ إِلَى ثَلاَثَةِ مَسَاجِدَ مَسْجِدِ الْحَرَامِ، وَمَسْجِدِي، وَمَسْجِدِ الأَقْصَى ‏"‏‏.‏
Reference : Sahih al-Bukhari 1864
In-book reference : Book 28, Hadith 44
USC-MSA web (English) reference : Vol. 3, Book 29, Hadith 87
  (deprecated numbering scheme)
Sahih Muslim 827 d

Qaza'ah reported:

I heard a hadith from Abu Sa'id (Allah be pleased with him) and it impressed me (very much), so I said to him: Did you hear it (yourself) from Allah's Messenger (may peace be upon him)? Thereupon he said: (Can) I speak of anything about Allah's Messenger (may peace be upon him) which I did not bear? He said: I heard Allah's Messenger (may peace be upon him) saying: Do not set out on a journey (for religious devotion) but for the three mosques-for this mosque of mine (at Medina) the Sacred Mosque (at Mecca), and the Mosque al-Aqsa (Bait al-Maqdis), and I heard him saying also: A woman should not travel for two days duration, but only when there is a Mahram with her or her husband.
حَدَّثَنَا قُتَيْبَةُ بْنُ سَعِيدٍ، وَعُثْمَانُ بْنُ أَبِي شَيْبَةَ، جَمِيعًا عَنْ جَرِيرٍ، - قَالَ قُتَيْبَةُ حَدَّثَنَا جَرِيرٌ، عَنْ عَبْدِ الْمَلِكِ، - وَهُوَ ابْنُ عُمَيْرٍ - عَنْ قَزَعَةَ، عَنْ أَبِي سَعِيدٍ، قَالَ سَمِعْتُ مِنْهُ، حَدِيثًا فَأَعْجَبَنِي فَقُلْتُ لَهُ أَنْتَ سَمِعْتَ هَذَا، مِنْ رَسُولِ اللَّهِ صلى الله عليه وسلم قَالَ فَأَقُولُ عَلَى رَسُولِ اللَّهِ صلى الله عليه وسلم مَا لَمْ أَسْمَعْ قَالَ سَمِعْتُهُ يَقُولُ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ لاَ تَشُدُّوا الرِّحَالَ إِلاَّ إِلَى ثَلاَثَةِ مَسَاجِدَ مَسْجِدِي هَذَا وَالْمَسْجِدِ الْحَرَامِ وَالْمَسْجِدِ الأَقْصَى ‏"‏ ‏.‏ وَسَمِعْتُهُ يَقُولُ ‏"‏ لاَ تُسَافِرِ الْمَرْأَةُ يَوْمَيْنِ مِنَ الدَّهْرِ إِلاَّ وَمَعَهَا ذُو مَحْرَمٍ مِنْهَا أَوْ زَوْجُهَا ‏"‏ ‏.‏
Reference : Sahih Muslim 827d
In-book reference : Book 15, Hadith 465
USC-MSA web (English) reference : Book 7, Hadith 3099
  (deprecated numbering scheme)
Jami` at-Tirmidhi 1321
Narrated Abu Hurairah:

That the Messenger of Allah (saws) said: "When you see someone selling or buying in the Masjid then say: 'May Allah not profit your business.' And when you see someone announcing about something lost then say: 'May Allah not return it to you.'"

The Hadith of Abu Hurairah is Hasan Gharib. This is acted upon according to some of the people of knowledge. They dislike selling and buying in the Masjid. This is the view of Ahmad and Ishaq. Some of the people of knowledge permitted selling and buying in the Masjid.

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

Grade: Sahih (Darussalam)
Reference : Jami` at-Tirmidhi 1321
In-book reference : Book 14, Hadith 125
English translation : Vol. 3, Book 12, Hadith 1321

Yahya related to me from Malik that he had asked Ibn Shihab whether someone doing itikaf could go into a house to relieve himself, and he said, "Yes, there is no harm in that."

Malik said, "The situation that we are all agreed upon here is that there is no disapproval of anyone doing itikaf in a mosque where jumua is held. The only reason I see for disapproving of doing itikaf in a mosque where jumua is not held is that the man doing itikaf would have to leave the mosque where he was doing itikaf in order to go to jumua, or else not go there at all. If, however, he is doing itikaf in a mosque where jumua is not held, and he does not have to go to jumua in any other mosque, then I see no harm in him doing itikaf there, because Allah, the Blessed and Exalted, says, 'While you are doing itikaf in mosques,' and refers to all mosques in general, without specifying any particular kind."

Malik continued, "Accordingly, it is permissiblefor a man to do itikaf in a mosque where jumua is not held if he does not have to leave it to go to a mosque where jumua is held."

Malik said, "A person doing itikaf should spend the night only in the mosque where he is doing itikaf, except if his tent is in one of the courtyards of the mosque. I have never heard that someone doing itikaf can put up a shelter anywhere except in the mosque itself or in one of the courtyards of the mosque.

Part of what shows that he must spend the night in the mosque is the saying of A'isha, 'When the Messenger of Allah, may Allah bless him and grant him peace, was doing itikaf, he would only go into the house to relieve himself.' Nor should he do itikaf on the roof of the mosque or in the minaret."

Malik said, "The person who is going to do itikaf should enter the place where he wishes to do itikaf before the sun sets on the night when he wishes to begin his itikaf, so that he is ready to begin the itikaf at the beginning of the night when he is going to start his itikaf. A person doing itikaf should be occupied with his itikaf, and not turn his attention to other things which might occupy him, such as trading or whatever. There is no harm, however, if some one doing itikaf tells some one to do something for him regarding his estate, or the affairs of his family, or tells someone to sell some property of his, or something else that does not occupy him directly. There is no harm in him arranging for someone else to do that for him if it is a simple matter."

Malik said, ...

وَحَدَّثَنِي عَنْ مَالِكٍ، أَنَّهُ سَأَلَ ابْنَ شِهَابٍ عَنِ الرَّجُلِ، يَعْتَكِفُ هَلْ يَدْخُلُ لِحَاجَتِهِ تَحْتَ سَقْفٍ فَقَالَ نَعَمْ لاَ بَأْسَ بِذَلِكَ ‏.‏ قَالَ مَالِكٌ الأَمْرُ عِنْدَنَا الَّذِي لاَ اخْتِلاَفَ فِيهِ أَنَّهُ لاَ يُكْرَهُ الاِعْتِكَافُ فِي كُلِّ مَسْجِدٍ يُجَمَّعُ فِيهِ وَلاَ أُرَاهُ كُرِهَ الاِعْتِكَافُ فِي الْمَسَاجِدِ الَّتِي لاَ يُجَمَّعُ فِيهَا إِلاَّ كَرَاهِيَةَ أَنْ يَخْرُجَ الْمُعْتَكِفُ مِنْ مَسْجِدِهِ الَّذِي اعْتَكَفَ فِيهِ إِلَى الْجُمُعَةِ أَوْ يَدَعَهَا فَإِنْ كَانَ مَسْجِدًا لاَ يُجَمَّعُ فِيهِ الْجُمُعَةُ وَلاَ يَجِبُ عَلَى صَاحِبِهِ إِتْيَانُ الْجُمُعَةِ فِي مَسْجِدٍ سِوَاهُ فَإِنِّي لاَ أَرَى بَأْسًا بِالاِعْتِكَافِ فِيهِ لأَنَّ اللَّهَ تَبَارَكَ وَتَعَالَى قَالَ ‏{‏وَأَنْتُمْ عَاكِفُونَ فِي الْمَسَاجِدِ‏}‏ فَعَمَّ اللَّهُ الْمَسَاجِدَ كُلَّهَا وَلَمْ يَخُصَّ شَيْئًا مِنْهَا ‏.‏ قَالَ مَالِكٌ فَمِنْ هُنَالِكَ جَازَ لَهُ أَنْ يَعْتَكِفَ فِي الْمَسَاجِدِ الَّتِي لاَ يُجَمَّعُ فِيهَا الْجُمُعَةُ إِذَا كَانَ لاَ يَجِبُ عَلَيْهِ أَنْ يَخْرُجَ مِنْهُ إِلَى الْمَسْجِدِ الَّذِي تُجَمَّعُ فِيهِ الْجُمُعَةُ ‏.‏ قَالَ مَالِكٌ وَلاَ يَبِيتُ الْمُعْتَكِفُ إِلاَّ فِي الْمَسْجِدِ الَّذِي اعْتَكَفَ فِيهِ إِلاَّ أَنْ يَكُونَ خِبَاؤُهُ فِي رَحَبَةٍ مِنْ رِحَابِ الْمَسْجِدِ وَلَمْ أَسْمَعْ أَنَّ الْمُعْتَكِفَ يَضْرِبُ بِنَاءً يَبِيتُ فِيهِ إِلاَّ فِي الْمَسْجِدِ أَوْ فِي رَحَبَةٍ مِنْ رِحَابِ الْمَسْجِدِ وَمِمَّا يَدُلُّ عَلَى أَنَّهُ لاَ يَبِيتُ إِلاَّ فِي الْمَسْجِدِ قَوْلُ عَائِشَةَ كَانَ رَسُولُ اللَّهِ صلى الله عليه وسلم إِذَا اعْتَكَفَ لاَ يَدْخُلُ الْبَيْتَ إِلاَّ لِحَاجَةِ الإِنْسَانِ ‏.‏ وَلاَ يَعْتَكِفُ فَوْقَ ظَهْرِ الْمَسْجِدِ وَلاَ فِي الْمَنَارِ يَعْنِي الصَّوْمَعَةَ ‏.‏ وَقَالَ مَالِكٌ يَدْخُلُ الْمُعْتَكِفُ الْمَكَانَ الَّذِي يُرِيدُ أَنْ يَعْتَكِفَ فِيهِ قَبْلَ غُرُوبِ الشَّمْسِ مِنَ اللَّيْلَةِ الَّتِي يُرِيدُ أَنْ يَعْتَكِفَ فِيهَا حَتَّى يَسْتَقْبِلَ بِاعْتِكَافِهِ أَوَّلَ اللَّيْلَةِ الَّتِي يُرِيدُ أَنْ يَعْتَكِفَ فِيهَا وَالْمُعْتَكِفُ مُشْتَغِلٌ بِاعْتِكَافِهِ لاَ يَعْرِضُ لِغَيْرِهِ مِمَّا يَشْتَغِلُ بِهِ مِنَ التِّجَارَاتِ أَوْ غَيْرِهَا وَلاَ بَأْسَ بِأَنْ يَأْمُرَ الْمُعْتَكِفُ بِبَعْضِ حَاجَتِهِ بِضَيْعَتِهِ وَمَصْلَحَةِ أَهْلِهِ وَأَنْ يَأْمُرَ بِبَيْعِ مَالِهِ أَوْ بِشَىْءٍ لاَ يَشْغَلُهُ فِي نَفْسِهِ فَلاَ بَأْسَ بِذَلِكَ إِذَا كَانَ خَفِيفًا أَنْ يَأْمُرَ بِذَلِكَ مَنْ يَكْفِيهِ إِيَّاهُ ‏.‏ قَالَ مَالِكٌ لَمْ أَسْمَعْ أَحَدًا مِنْ أَهْلِ الْعِلْمِ يَذْكُرُ فِي الاِعْتِكَافِ شَرْطًا وَإِنَّمَا الاِعْتِكَافُ عَمَلٌ مِنَ الأَعْمَالِ مِثْلُ الصَّلاَةِ وَالصِّيَامِ وَالْحَجِّ وَمَا أَشْبَهَ ذَلِكَ مِنَ الأَعْمَالِ مَا كَانَ مِنْ ذَلِكَ فَرِيضَةً أَوْ نَافِلَةً فَمَنْ دَخَلَ فِي شَىْءٍ مِنْ ذَلِكَ فَإِنَّمَا يَعْمَلُ بِمَا مَضَى مِنَ السُّنَّةِ وَلَيْسَ لَهُ أَنْ يُحْدِثَ فِي ذَلِكَ غَيْرَ مَا مَضَى عَلَيْهِ الْمُسْلِمُونَ لاَ مِنْ شَرْطٍ يَشْتَرِطُهُ وَلاَ يَبْتَدِعُهُ وَقَدِ اعْتَكَفَ رَسُولُ اللَّهِ صلى الله عليه وسلم وَعَرَفَ الْمُسْلِمُونَ سُنَّةَ الاِعْتِكَافِ ‏.‏ قَالَ مَالِكٌ وَالاِعْتِكَافَ وَالْجِوَارُ سَوَاءٌ وَالاِعْتِكَافُ لِلْقَرَوِيِّ وَالْبَدَوِيِّ سَوَاءٌ ‏.‏
USC-MSA web (English) reference : Book 19, Hadith 3
Arabic reference : Book 19, Hadith 695
Sunan an-Nasa'i 691
It was narrated from Ibn 'Abbas that Maimunah the wife of the Prophet (PBUH) said:
"Whoever prays in the Masjid of the Messenger of Allah (PBUH) (that is good), for I heard the Messenger of Allah (PBUH) say: ' One prayer offered there is better than a thousand prayers offered elsewhere, except the Masjid of the Ka'bah.'"
أَخْبَرَنَا قُتَيْبَةُ، قَالَ حَدَّثَنَا اللَّيْثُ، عَنْ نَافِعٍ، عَنْ إِبْرَاهِيمَ بْنِ عَبْدِ اللَّهِ بْنِ مَعْبَدِ بْنِ عَبَّاسٍ، أَنَّ مَيْمُونَةَ، زَوْجَ النَّبِيِّ صلى الله عليه وسلم قَالَتْ مَنْ صَلَّى فِي مَسْجِدِ رَسُولِ اللَّهِ صلى الله عليه وسلم فَإِنِّي سَمِعْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم يَقُولُ ‏ "‏ الصَّلاَةُ فِيهِ أَفْضَلُ مِنْ أَلْفِ صَلاَةٍ فِيمَا سِوَاهُ إِلاَّ مَسْجِدَ الْكَعْبَةِ ‏"‏ ‏.‏
Grade: Sahih (Darussalam)
Reference : Sunan an-Nasa'i 691
In-book reference : Book 8, Hadith 4
English translation : Vol. 1, Book 8, Hadith 692
Sunan Abi Dawud 382
Ibn 'Umar said:
I used to sleep in the mosque in the lifetime of the Messenger of Allah (saws) when I was young and bachelor. The dogs would urinate frequently visit the mosque, and no one would sprinkle over it.
حَدَّثَنَا أَحْمَدُ بْنُ صَالِحٍ، حَدَّثَنَا عَبْدُ اللَّهِ بْنُ وَهْبٍ، أَخْبَرَنِي يُونُسُ، عَنِ ابْنِ شِهَابٍ، حَدَّثَنِي حَمْزَةُ بْنُ عَبْدِ اللَّهِ بْنِ عُمَرَ، قَالَ قَالَ ابْنُ عُمَرَ كُنْتُ أَبِيتُ فِي الْمَسْجِدِ فِي عَهْدِ رَسُولِ اللَّهِ صلى الله عليه وسلم وَكُنْتُ فَتًى شَابًّا عَزَبًا وَكَانَتِ الْكِلاَبُ تَبُولُ وَتُقْبِلُ وَتُدْبِرُ فِي الْمَسْجِدِ فَلَمْ يَكُونُوا يَرُشُّونَ شَيْئًا مِنْ ذَلِكَ ‏.‏
Grade: Sahih (Al-Albani)  صحيح   (الألباني) حكم   :
Reference : Sunan Abi Dawud 382
In-book reference : Book 1, Hadith 382
English translation : Book 1, Hadith 382
Sunan Ibn Majah 645
It was narrated that Jasrah said:
"Umm Salamah told me: 'The Messenger of Allah entered the courtyard of this mosque and called out at the top of his voice: 'The mosque is not permissible for anyone who is sexually impure or any woman who is menstruating.''"
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، وَمُحَمَّدُ بْنُ يَحْيَى، قَالاَ حَدَّثَنَا أَبُو نُعَيْمٍ، حَدَّثَنَا ابْنُ أَبِي غَنِيَّةَ، عَنْ أَبِي الْخَطَّابِ الْهَجَرِيِّ، عَنْ مَحْدُوجٍ الذُّهْلِيِّ، عَنْ جَسْرَةَ، قَالَتْ أَخْبَرَتْنِي أُمُّ سَلَمَةَ، قَالَتْ دَخَلَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ صَرْحَةَ هَذَا الْمَسْجِدِ فَنَادَى بِأَعْلَى صَوْتِهِ ‏ "‏ إِنَّ الْمَسْجِدَ لاَ يَحِلُّ لِجُنُبٍ وَلاَ لِحَائِضٍ ‏"‏ ‏.‏
Grade: Da'if (Darussalam)
Reference : Sunan Ibn Majah 645
In-book reference : Book 1, Hadith 379
English translation : Vol. 1, Book 1, Hadith 645
Mishkat al-Masabih 744
As-Sa'ib b. Yazid said that when he was sleeping in the mosque a man threw a pebble at him, and when he looked he saw that it was ‘Umar b. al-Khattab, who said, “Go and bring me these two men.” He brought them and ‘Umar asked them what tribe they belonged to, or what place they came from. On their replying that they belonged to at-Ta’if, he said, “If you had belonged to Medina I would have given you a beating for raising your voices in the mosque of God’s Messenger. Bukhari transmitted it.
وَعَنِ السَّائِبِ بْنِ يَزِيدَ قَالَ: كُنْتُ نَائِمًا فِي الْمَسْجِد فحصبني رجل فَنَظَرت فَإِذا عُمَرُ بْنُ الْخَطَّابِ فَقَالَ اذْهَبْ فَأْتِنِي بِهَذَيْنِ فَجِئْتُهُ بِهِمَا فَقَالَ: مِمَّنْ أَنْتُمَا أَوْ مِنْ أَيْنَ أَنْتُمَا قَالَا: مِنْ أَهْلِ الطَّائِفِ. قَالَ: لَوْ كُنْتُمَا مِنْ أَهْلِ الْمَدِينَةِ لَأَوْجَعْتُكُمَا تَرْفَعَانِ أَصْوَاتَكُمَا فِي مَسْجِدِ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ. رَوَاهُ البُخَارِيّ
  صَحِيح   (الألباني) حكم   :
Reference : Mishkat al-Masabih 744
In-book reference : Book 4, Hadith 172
Sunan an-Nasa'i 831
It was narrated that Jabir said:
"A man from the Ansar came when the Iqamah for prayer had been said. He entered the Masjid and prayed behind Muadh, and he(Muadh) made the prayer lengthy. The man went away and prayed in a comer of the Masjid, then he left. When Muadh finished praying, it was said to him that so-and-so had done such and such. Muadh said: 'Tomorrow I will mention that to the Messenger of Allah (saws).' So Muadh came to the Messenger of Allah (saws) and told him about that. The Messenger of Allah (saws) sent for him and asked him: 'What made you do what you did? He said: '0 Messenger of Allah (saws), I had been working with my camel to bring water all day, and when I came the Iqamah for prayer had already been said, so I entered the Masjid and joined him in the prayer, then he recited such and such a Surah and made it lengthy, so I went away and prayed in a comer of the Masjid.' The Messenger of Allah (saws) said: 'Do you want to cause hardship to the people, 0 Muadh do you want to cause hardship to the people, 0 Muadh do you want to cause hardship to the people, 0 Muadh?"'
أَخْبَرَنَا وَاصِلُ بْنُ عَبْدِ الأَعْلَى، قَالَ حَدَّثَنَا ابْنُ فُضَيْلٍ، عَنِ الأَعْمَشِ، عَنْ مُحَارِبِ بْنِ دِثَارٍ، وَأَبِي، صَالِحٍ عَنْ جَابِرٍ، قَالَ جَاءَ رَجُلٌ مِنَ الأَنْصَارِ وَقَدْ أُقِيمَتِ الصَّلاَةُ فَدَخَلَ الْمَسْجِدَ فَصَلَّى خَلْفَ مُعَاذٍ فَطَوَّلَ بِهِمْ فَانْصَرَفَ الرَّجُلُ فَصَلَّى فِي نَاحِيَةِ الْمَسْجِدِ ثُمَّ انْطَلَقَ فَلَمَّا قَضَى مُعَاذٌ الصَّلاَةَ قِيلَ لَهُ إِنَّ فُلاَنًا فَعَلَ كَذَا وَكَذَا ‏.‏ فَقَالَ مُعَاذٌ لَئِنْ أَصْبَحْتُ لأَذْكُرَنَّ ذَلِكَ لِرَسُولِ اللَّهِ صلى الله عليه وسلم ‏.‏ فَأَتَى مُعَاذٌ النَّبِيَّ صلى الله عليه وسلم فَذَكَرَ ذَلِكَ لَهُ فَأَرْسَلَ رَسُولُ اللَّهِ صلى الله عليه وسلم إِلَيْهِ فَقَالَ ‏"‏ مَا حَمَلَكَ عَلَى الَّذِي صَنَعْتَ ‏"‏ ‏.‏ فَقَالَ يَا رَسُولَ اللَّهِ عَمِلْتُ عَلَى نَاضِحِي مِنَ النَّهَارِ فَجِئْتُ وَقَدْ أُقِيمَتِ الصَّلاَةُ فَدَخَلْتُ الْمَسْجِدَ فَدَخَلْتُ مَعَهُ فِي الصَّلاَةِ فَقَرَأَ سُورَةَ كَذَا وَكَذَا فَطَوَّلَ فَانْصَرَفْتُ فَصَلَّيْتُ فِي نَاحِيَةِ الْمَسْجِدِ ‏.‏ فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ أَفَتَّانٌ يَا مُعَاذُ أَفَتَّانٌ يَا مُعَاذُ أَفَتَّانٌ يَا مُعَاذُ ‏"‏ ‏.‏
Grade: Sahih (Darussalam)
Reference : Sunan an-Nasa'i 831
In-book reference : Book 10, Hadith 55
English translation : Vol. 1, Book 10, Hadith 832

Yahya related to me from Malik from Nafi that Abdullah ibn Umar used to pray in the mosque of Dhu'l-Hulayfa, and then go outside and get on his camel and when his camel had stood up he would begin to do talbiya.

وَحَدَّثَنِي عَنْ مَالِكٍ، عَنْ نَافِعٍ، أَنَّ عَبْدَ اللَّهِ بْنَ عُمَرَ، كَانَ يُصَلِّي فِي مَسْجِدِ ذِي الْحُلَيْفَةِ
USC-MSA web (English) reference : Book 20, Hadith 32
Arabic reference : Book 20, Hadith 740
Mishkat al-Masabih 708
Anas reported God's Messenger as saying, “Spitting in the mosque is a sin which is expiated by burying the spittle.” (Bukhari and Muslim.)
وَعَنْ أَنَسٍ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «الْبُزَاقُ فِي الْمَسْجِد خَطِيئَة وكفارتها دَفنهَا»
  مُتَّفَقٌ عَلَيْهِ   (الألباني) حكم   :
Reference : Mishkat al-Masabih 708
In-book reference : Book 4, Hadith 139
Sahih al-Bukhari 492
See translation for hadith 484 above
وَأَنَّ عَبْدَ اللَّهِ حَدَّثَهُ أَنَّ النَّبِيَّ صلى الله عليه وسلم اسْتَقْبَلَ فُرْضَتَىِ الْجَبَلِ الَّذِي بَيْنَهُ وَبَيْنَ الْجَبَلِ الطَّوِيلِ نَحْوَ الْكَعْبَةِ، فَجَعَلَ الْمَسْجِدَ الَّذِي بُنِيَ ثَمَّ يَسَارَ الْمَسْجِدِ بِطَرَفِ الأَكَمَةِ، وَمُصَلَّى النَّبِيِّ صلى الله عليه وسلم أَسْفَلَ مِنْهُ عَلَى الأَكَمَةِ السَّوْدَاءِ، تَدَعُ مِنَ الأَكَمَةِ عَشَرَةَ أَذْرُعٍ أَوْ نَحْوَهَا، ثُمَّ تُصَلِّي مُسْتَقْبِلَ الْفُرْضَتَيْنِ مِنَ الْجَبَلِ الَّذِي بَيْنَكَ وَبَيْنَ الْكَعْبَةِ‏.‏
Reference : Sahih al-Bukhari 492
In-book reference : Book 8, Hadith 139
USC-MSA web (English) reference : Vol. 1, Book 8, Hadith 471
  (deprecated numbering scheme)
Al-Adab Al-Mufrad 341
Raja' said. "One day Mihjan and I went to the mosque of the people of Basra. Burayda al-Aslami was sitting there by one of the mosque doors. Inside the mosque there was a man called Sabka who used to make the prayers long. We came to the mosque door which had a fringed woollen cloth over it. Now Burayda was someone who made jokes. He said, 'Mihjan, don't you pray as Sabka prays?' Mihjan did not answer and went back. Mihjan said, 'The Messenger of Allah, may Allah bless him and grant him peace, once took me by the hand and we went together to the top of Uhud. He looked down on Madina and said, "Woe to a town whose people will abandon it when it becomes very prosperous. Then the Dajjal will come to it and find two angels at each of its gates, so he will not enter it." Then he went down until we reached the mosque and the Messenger of Allah, may Allah bless him and grant him peace, saw a man praying, prostrating and bowing. The Messenger of Allah, may Allah bless him and grant him peace, asked me, "Who is this?" and I began to praise him, saying, "Messenger of Allah, this is so-and-so and so-and-so." "Stop!" he said, "Do not let him hear or you will destroy him."'"
حَدَّثَنَا مُحَمَّدٍ، قَالَ‏:‏ حَدَّثَنَا مُوسَى، قَالَ‏:‏ حَدَّثَنَا أَبُو عَوَانَةَ، عَنْ أَبِي بِشْرٍ، عَنْ عَبْدِ اللهِ بْنِ شَقِيقٍ، عَنْ رَجَاءِ بْنِ أَبِي رَجَاءٍ، عَنْ مِحْجَنٍ الأَسْلَمِيِّ قَالَ رَجَاءٌ‏:‏ أَقْبَلْتُ مَعَ مِحْجَنٍ ذَاتَ يَوْمٍ حَتَّى انْتَهَيْنَا إِلَى مَسْجِدِ أَهْلِ الْبَصْرَةِ، فَإِذَا بُرَيْدَةُ الأَسْلَمِيُّ عَلَى بَابٍ مِنْ أَبْوَابِ الْمَسْجِدِ جَالِسٌ، قَالَ‏:‏ وَكَانَ فِي الْمَسْجِدِ رَجُلٌ يُقَالُ لَهُ‏:‏ سُكْبَةُ، يُطِيلُ الصَّلاَةَ، فَلَمَّا انْتَهَيْنَا إِلَى بَابِ الْمَسْجِدِ، وَعَلَيْهِ بُرْدَةٌ، وَكَانَ بُرَيْدَةُ صَاحِبَ مُزَاحَاتٍ، فَقَالَ‏:‏ يَا مِحْجَنُ أَتُصَلِّي كَمَا يُصَلِّي سُكْبَةُ‏؟‏ فَلَمْ يَرُدَّ عَلَيْهِ مِحْجَنٌ، وَرَجَعَ، قَالَ‏:‏ قَالَ مِحْجَنٌ‏:‏ إِنَّ رَسُولَ اللهِ صلى الله عليه وسلم أَخَذَ بِيَدِي، فَانْطَلَقْنَا نَمْشِي حَتَّى صَعِدْنَا أُحُدًا، فَأَشْرَفَ عَلَى الْمَدِينَةِ فَقَالَ‏:‏ وَيْلُ أُمِّهَا مِنْ قَرْيَةٍ، يَتْرُكُهَا أَهْلُهَا كَأَعْمَرَ مَا تَكُونُ، يَأْتِيهَا الدَّجَّالُ، فَيَجِدُ عَلَى كُلِّ بَابٍ مِنْ أَبْوَابِهَا مَلَكًا، فَلاَ يَدْخُلُهَا، ثُمَّ انْحَدَرَ حَتَّى إِذَا كُنَّا فِي الْمَسْجِدِ، رَأَى رَسُولُ اللهِ صلى الله عليه وسلم رَجُلاً يُصَلِّي، وَيَسْجُدُ، وَيَرْكَعُ، فَقَالَ لِي رَسُولُ اللهِ صلى الله عليه وسلم‏:‏ مَنْ هَذَا‏؟‏ فَأَخَذْتُ أُطْرِيهِ، فَقُلْتُ‏:‏ يَا رَسُولَ اللهِ، هَذَا فُلاَنٌ، وَهَذَا‏.‏ فَقَالَ أَمْسِكْ، لاَ تُسْمِعْهُ فَتُهْلِكَهُ، قَالَ‏:‏ فَانْطَلَقَ يَمْشِي، حَتَّى إِذَا كَانَ عِنْدَ حُجَرِهِ، لَكِنَّهُ نَفَضَ يَدَيْهِ ثُمَّ قَالَ‏:‏ إِنَّ خَيْرَ دِينِكُمْ أَيْسَرُهُ، إِنَّ خَيْرَ دِينِكُمْ أَيْسَرُهُ ثَلاثًا‏.‏
Grade: Hasan (Al-Albani)  حـسـن   (الألباني) حكم   :
Reference : Al-Adab Al-Mufrad 341
In-book reference : Book 16, Hadith 9
English translation : Book 16, Hadith 341
Riyad as-Salihin 1145
Jabir (May Allah be pleased with him) reported:
I came to the Prophet (PBUH) when he was in the mosque, and he said to me, "Perform two Rak'ah prayer."

[Al-Bukhari and Muslim].

وعن جابر، رضي الله عنه قال‏:‏ أتيت النبي صلى الله عليه وسلم وهو في المسجد فقال‏:‏ ‏ "‏صلِ ركعتين‏"‏ ‏(‏‏(‏متفق عليه‏)‏‏)‏‏.‏
Reference : Riyad as-Salihin 1145
In-book reference : Book 8, Hadith 155
Narrated ['Aishah (RA)]:
One black slave-girl had a tent in the mosque and she used to come to me and talk (with me) in my house. [Agreed upon].
وَعَنْهَا : { أَنَّ وَلِيدَةً سَوْدَاءَ كَانَ لَهَا خِبَاءٌ فِي اَلْمَسْجِدِ , فَكَانَتْ تَأْتِينِي , فَتَحَدَّثُ عِنْدِي .‏ .‏ .‏ } اَلْحَدِيثَ.‏ مُتَّفِقٌ عَلَيْه ِ 1
Sunnah.com reference : Book 2, Hadith 133
English translation : Book 2, Hadith 259
Arabic reference : Book 2, Hadith 261

Yahya related to me from Malik from Abu'nNadr, the mawla of Umar ibn Ubaydullah, that Abu Salama ibn Abd ar-Rahman asked him, "Didn't I see your master sit down before praying after he had entered the mosque?"

Abu'n-Nadr said, "By that he meant Umar ibn Ubaydullah, and he was finding fault with him for sitting down before praying after he had come into the mosque."

Yahya said that Malik said, "It is good to do that but not obligatory."

وَحَدَّثَنِي عَنْ مَالِكٍ، عَنْ أَبِي النَّضْرِ، مَوْلَى عُمَرَ بْنِ عُبَيْدِ اللَّهِ عَنْ أَبِي سَلَمَةَ بْنِ عَبْدِ الرَّحْمَنِ، أَنَّهُ قَالَ لَهُ أَلَمْ أَرَ صَاحِبَكَ إِذَا دَخَلَ الْمَسْجِدَ يَجْلِسُ قَبْلَ أَنْ يَرْكَعَ قَالَ أَبُو النَّضْرِ يَعْنِي بِذَلِكَ عُمَرَ بْنَ عُبَيْدِ اللَّهِ وَيَعِيبُ ذَلِكَ عَلَيْهِ أَنْ يَجْلِسَ إِذَا دَخَلَ الْمَسْجِدَ قَبْلَ أَنْ يَرْكَعَ ‏.‏ قَالَ يَحْيَى قَالَ مَالِكٌ وَذَلِكَ حَسَنٌ وَلَيْسَ بِوَاجِبٍ ‏.‏
USC-MSA web (English) reference : Book 9, Hadith 61
Arabic reference : Book 9, Hadith 392

Yahya related to me from Malik from Abu'n Nadr, the mawla of Umar ibn Ubaydullah that A'isha, the wife of the Prophet, may Allah bless him and grant him peace, ordered that the body of Sad ibn Abi Waqqas be brought past her in the mosque so that she could make dua for him. Some people disapproved of her doing that, and she said, "How hasty people are! The Messenger of Allah, may Allah bless him and grant him peace, only prayed over Suhayl ibn Bayda in the mosque."

حَدَّثَنِي يَحْيَى، عَنْ مَالِكٍ، عَنْ أَبِي النَّضْرِ، مَوْلَى عُمَرَ بْنِ عُبَيْدِ اللَّهِ عَنْ عَائِشَةَ، زَوْجِ النَّبِيِّ صلى الله عليه وسلم أَنَّهَا أَمَرَتْ أَنْ يُمَرَّ عَلَيْهَا بِسَعْدِ بْنِ أَبِي وَقَّاصٍ فِي الْمَسْجِدِ حِينَ مَاتَ لِتَدْعُوَ لَهُ فَأَنْكَرَ ذَلِكَ النَّاسُ عَلَيْهَا فَقَالَتْ عَائِشَةُ مَا أَسْرَعَ النَّاسَ مَا صَلَّى رَسُولُ اللَّهِ صلى الله عليه وسلم عَلَى سُهَيْلِ ابْنِ بَيْضَاءَ إِلاَّ فِي الْمَسْجِدِ ‏.‏
USC-MSA web (English) reference : Book 16, Hadith 22
Arabic reference : Book 16, Hadith 544
Sahih Muslim 445 a

'Amra, daughter of Abd al-Rahmin, reported:

I heard 'A'isha, the wife of the Apostle of Allah (may peace be upon him). say: If the Messenger of Allah (may peace be upon him) had seen what new things the women have introduced (in their way of life) he would have definitely prevented them from going to the mosque, as the women of BaniIsra'il were prevented.
حَدَّثَنَا عَبْدُ اللَّهِ بْنُ مَسْلَمَةَ بْنِ قَعْنَبٍ، حَدَّثَنَا سُلَيْمَانُ، - يَعْنِي ابْنَ بِلاَلٍ - عَنْ يَحْيَى، - وَهُوَ ابْنُ سَعِيدٍ - عَنْ عَمْرَةَ بِنْتِ عَبْدِ الرَّحْمَنِ، أَنَّهَا سَمِعَتْ عَائِشَةَ، زَوْجَ النَّبِيِّ صلى الله عليه وسلم تَقُولُ لَوْ أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم رَأَى مَا أَحْدَثَ النِّسَاءُ لَمَنَعَهُنَّ الْمَسْجِدَ كَمَا مُنِعَتْ نِسَاءُ بَنِي إِسْرَائِيلَ ‏.‏ قَالَ فَقُلْتُ لِعَمْرَةَ أَنِسَاءُ بَنِي إِسْرَائِيلَ مُنِعْنَ الْمَسْجِدَ قَالَتْ نَعَمْ ‏.‏
Reference : Sahih Muslim 445a
In-book reference : Book 4, Hadith 161
USC-MSA web (English) reference : Book 4, Hadith 895
  (deprecated numbering scheme)
Riyad as-Salihin 1056
Jabir (May Allah be pleased with him) reported:
There were some plots of land lying vacant around the mosque. The people of Banu Salamah decided to move to this land and come nearer to the mosque. The Messenger of Allah (PBUH) heard about it and said to them, "I have heard that you intend to move near the mosque." They said: "Yes, O Messenger of Allah! We have decided to do that." Thereupon the Messenger of Allah (PBUH) said, "O Banu Salamah! Stay in your houses, because your footprints (when you come to the mosque) will be recorded." He said this twice. They said: "We would not have liked it, had we moved near the mosque."

[Muslim].

وعن جابر رضي الله عنه قال‏:‏ خلت البقاع حول المسجد فأراد بنو سلمة أن ينتقلوا قرب المسجد، فبلغ ذلك النبي صلى الله عليه وسلم فقال لهم‏:‏ ‏"‏بلغني أنكم تريدون أن تنتقلوا قرب المسجد‏؟‏ قالوا‏:‏ نعم يا رسول الله قد أردنا ذلك، فقال‏:‏ ‏"‏ بني سلمة دياركم تكتب آثاركم، دياركم تكتب آثاركم‏"‏ فقالوا‏:‏ ما يسرنا أنا كنا تحولنا‏"‏ ‏(‏‏(‏رواه مسلم، وروى البخاري معناه من رواية أنس‏)‏‏)‏‏.‏
Reference : Riyad as-Salihin 1056
In-book reference : Book 8, Hadith 66
Sunan Ibn Majah 281
It was narrated that Abu Hurairah said:
"The Messenger of Allah said: 'When anyone of you performs ablution and does it well, then he comes to the mosque for no other purpose than prayer, he does not take one step but Allah will raise him one degree (in status) thereby, and remove one sin from him thereby, until he enters the mosque.'"
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا أَبُو مُعَاوِيَةَ، عَنِ الأَعْمَشِ، عَنْ أَبِي صَالِحٍ، عَنْ أَبِي هُرَيْرَةَ، قَالَ قَالَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ ‏ "‏ إِنَّ أَحَدَكُمْ إِذَا تَوَضَّأَ فَأَحْسَنَ الْوُضُوءَ ثُمَّ أَتَى الْمَسْجِدَ لاَ يَنْهَزُهُ إِلاَّ الصَّلاَةُ لَمْ يَخْطُ خَطْوَةً إِلاَّ رَفَعَهُ اللَّهُ عَزَّ وَجَلَّ بِهَا دَرَجَةً وَحَطَّ عَنْهُ بِهَا خَطِيئَةً حَتَّى يَدْخُلَ الْمَسْجِدَ ‏"‏ ‏.‏
Grade: Sahih (Darussalam)
Reference : Sunan Ibn Majah 281
In-book reference : Book 1, Hadith 15
English translation : Vol. 1, Book 1, Hadith 281
Sunan Ibn Majah 1007
It was narrated that Ibn ‘Umar said:
“It was said to the Prophet (saw): ‘The left side of the mosque has been abandoned. The Prophet (saw) said: “Whoever frequents the left side of the mosque, two Kifl* of reward will be recorded for him.”
حَدَّثَنَا مُحَمَّدُ بْنُ أَبِي الْحُسَيْنِ أَبُو جَعْفَرٍ، حَدَّثَنَا عَمْرُو بْنُ عُثْمَانَ الْكِلاَبِيُّ، حَدَّثَنَا عُبَيْدُ اللَّهِ بْنُ عَمْرٍو الرَّقِّيُّ، عَنْ لَيْثِ بْنِ أَبِي سُلَيْمٍ، عَنْ نَافِعٍ، عَنِ ابْنِ عُمَرَ، قَالَ قِيلَ لِلنَّبِيِّ ـ صلى الله عليه وسلم ـ إِنَّ مَيْسَرَةَ الْمَسْجِدِ تَعَطَّلَتْ ‏.‏ فَقَالَ النَّبِيُّ ـ صلى الله عليه وسلم ـ ‏ "‏ مَنْ عَمَّرَ مَيْسَرَةَ الْمَسْجِدِ كُتِبَ لَهُ كِفْلاَنِ مِنَ الأَجْرِ ‏"‏ ‏.‏
Grade: Da’if (Darussalam)
Reference : Sunan Ibn Majah 1007
In-book reference : Book 5, Hadith 205
English translation : Vol. 1, Book 5, Hadith 1007
Sahih al-Bukhari 924

Narrated Aisha:

Once in the middle of the night Allah's Apostle (p.b.u.h) went out and prayed in the mosque and some men prayed with him. The next morning the people spoke about it and so more people gathered and prayed with him (in the second night). They circulated the news in the morning, and so, on the third night the number of people increased greatly. Allah's Apostle (p.b.u.h) came out and they prayed behind him. On the fourth night the mosque was overwhelmed by the people till it could not accommodate them. Allah's Apostle came out only for the Fajr prayer and when he finished the prayer, he faced the people and recited "Tashah-hud" (I testify that none has the right to be worshipped but Allah and that Muhammad is His Apostle), and then said, "Amma ba'du. Verily your presence (in the mosque at night) was not hidden from me, but I was afraid that this prayer (Prayer of Tahajjud) might be made compulsory and you might not be able to carry it out."

حَدَّثَنَا يَحْيَى بْنُ بُكَيْرٍ، قَالَ حَدَّثَنَا اللَّيْثُ، عَنْ عُقَيْلٍ، عَنِ ابْنِ شِهَابٍ، قَالَ أَخْبَرَنِي عُرْوَةُ، أَنَّ عَائِشَةَ، أَخْبَرَتْهُ أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم خَرَجَ ذَاتَ لَيْلَةٍ مِنْ جَوْفِ اللَّيْلِ، فَصَلَّى فِي الْمَسْجِدِ، فَصَلَّى رِجَالٌ بِصَلاَتِهِ فَأَصْبَحَ النَّاسُ فَتَحَدَّثُوا، فَاجْتَمَعَ أَكْثَرُ مِنْهُمْ فَصَلَّوْا مَعَهُ، فَأَصْبَحَ النَّاسُ فَتَحَدَّثُوا فَكَثُرَ أَهْلُ الْمَسْجِدِ مِنَ اللَّيْلَةِ الثَّالِثَةِ، فَخَرَجَ رَسُولُ اللَّهِ صلى الله عليه وسلم فَصَلَّوْا بِصَلاَتِهِ، فَلَمَّا كَانَتِ اللَّيْلَةُ الرَّابِعَةُ عَجَزَ الْمَسْجِدُ عَنْ أَهْلِهِ حَتَّى خَرَجَ لِصَلاَةِ الصُّبْحِ، فَلَمَّا قَضَى الْفَجْرَ أَقْبَلَ عَلَى النَّاسِ، فَتَشَهَّدَ ثُمَّ قَالَ ‏ "‏ أَمَّا بَعْدُ فَإِنَّهُ لَمْ يَخْفَ عَلَىَّ مَكَانُكُمْ، لَكِنِّي خَشِيتُ أَنْ تُفْرَضَ عَلَيْكُمْ فَتَعْجِزُوا عَنْهَا ‏"‏‏.‏ تَابَعَهُ يُونُسُ‏.‏
Reference : Sahih al-Bukhari 924
In-book reference : Book 11, Hadith 48
USC-MSA web (English) reference : Vol. 2, Book 13, Hadith 46
  (deprecated numbering scheme)
Sunan Ibn Majah 529
It was narrated that Abu Hurairah said:
"A Bedouin entered the mosque when the Messenger of Allah was sitting there, and (the man) said: 'O Allah, forgive me and Muhammed, and do not forgive anyone else with us.' The Messenger of Allah smiled and said: 'You have placed restrictions on something that is vast.' Then the Bedouin turned away, went to a corner of the mosque, spread his legs and began to urinate. After he had a better understanding, the Bedouin said: 'He got up and came to me, and may my father and mother be ransomed for him, he did not rebuke me nor revile me. He said: "This mosque is not for urinating in. Rather it is built for the remembrance of Allah and prayer.'" Then he called for a large vessel of water and poured it over the place where he had urinated."
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا عَلِيُّ بْنُ مُسْهِرٍ، عَنْ مُحَمَّدِ بْنِ عَمْرٍو، عَنْ أَبِي سَلَمَةَ، عَنْ أَبِي هُرَيْرَةَ، قَالَ دَخَلَ أَعْرَابِيٌّ الْمَسْجِدَ وَرَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ جَالِسٌ فَقَالَ اللَّهُمَّ اغْفِرْ لِي وَلِمُحَمَّدٍ وَلاَ تَغْفِرْ لأَحَدٍ مَعَنَا ‏.‏ فَضَحِكَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ وَقَالَ ‏"‏ لَقَدِ احْتَظَرْتَ وَاسِعًا ‏"‏ ‏.‏ ثُمَّ وَلَّى حَتَّى إِذَا كَانَ فِي نَاحِيَةِ الْمَسْجِدِ فَشَجَ يَبُولُ ‏.‏ فَقَالَ الأَعْرَابِيُّ بَعْدَ أَنْ فَقِهَ فَقَامَ إِلَىَّ بِأَبِي وَأُمِّي ‏.‏ فَلَمْ يُؤَنِّبْ وَلَمْ يَسُبَّ ‏.‏ فَقَالَ ‏"‏ إِنَّ هَذَا الْمَسْجِدَ لاَ يُبَالُ فِيهِ وَإِنَّمَا بُنِيَ لِذِكْرِ اللَّهِ وَلِلصَّلاَةِ ‏"‏ ‏.‏ ثُمَّ أَمَرَ بِسَجْلٍ مِنَ مَاءٍ فَأُفْرِغَ عَلَى بَوْلِهِ ‏.‏
Grade: Hasan (Darussalam)
Reference : Sunan Ibn Majah 529
In-book reference : Book 1, Hadith 263
English translation : Vol. 1, Book 1, Hadith 529