Back to Chapters
Chapter 5

Sahih Muslim — The Book of Mosques and Places of Prayer

Read the narrations, translations and available source grading.

All Chapters
0
Introduction
كتاب مُقَدِّمَةٌ
1
The Book of Faith
كتاب الْإِيمَانِ
2
The Book of Purification
كتاب الطَّهَارَةِ
3
The Book of Menstruation
كتاب الْحَيْضِ
4
The Book of Prayers
كتاب الصَّلَاةِ
5
The Book of Mosques and Places of Prayer
كتاب الْمَسَاجِدِ وَمَوَاضِعِ الصَّلَاة
6
The Book of Prayer - Travellers
كتاب صَلَاةِ الْمُسَافِرِينَ وَقَصْرِهَا
7
The Book Of the Merit Of The Holy Quran
کتاب فَضَائِلِ الْقُرْآنِ وَمَا يَتَعَلَّقُ بِهِ
8
The Book of Prayer - Friday
كتاب الْجُمُعَةِ
9
The Book of Prayer - Two Eids
كتاب صَلَاةِ الْعِيدَيْنِ
10
The Book of Prayer - Rain
كتاب صَلَاةِ الِاسْتِسْقَاءِ
11
The Book of Prayer - Eclipses
كتاب الْكُسُوفِ
12
The Book of Prayer - Funerals
كتاب الْجَنَائِزِ
13
The Book of Zakat
كتاب الزَّكَاةِ
14
The Book of Fasting
كتاب الصِّيَامِ
15
The Book of I'tikaaf
كتاب الِاعْتِكَافِ
16
The Book of Pilgrimage
كتاب الْحَجِّ
17
The Book of Marriage
كتاب النِّكَاحِ
18
The Book of Suckling
كتاب الرِّضَاعِ
19
The Book of Divorce
كتاب الطَّلَاقِ
20
The Book of Invoking Curses
كتاب اللِّعَانِ
21
The Book of Emancipating Slaves
كتاب الْعِتْقِ
22
The Book of Transactions
كتاب الْبُيُوعِ
23
The Book Of Musaqah
كتاب الْمُسَاقَاةِ
24
The Book Of The Rules Of Inheritance
كتاب الْفَرَائِضِ
25
The Book Of Gifts
كتاب الْهِبَاتِ
26
The Book Of Wills
كتاب الْوَصِيَّةِ
27
The Book Of Vows
كتاب النَّذْرِ
28
The Book Of Oaths
كتاب الْأَيْمَانِ
29
The Book of Oaths, Muharibin, Qasas (Retaliation), and Diyat (Blood Money)
كتاب الْقَسَامَةِ وَالْمُحَارِبِينَ وَالْقِصَاصِ وَالدِّيَاتِ
30
The Book Of Legal Punishments
كتاب الْحُدُودِ
31
The Book Of Judicial Decisions
كتاب الْأَقْضِيَةِ
32
The Book Of Lost Property
كتاب اللُّقَطَةِ
33
The Book Of Jihad And Expeditions
كتاب الْجِهَادِ وَالسِّيَرِ
34
The Book of Government
كتاب الْإِمَارَةِ
35
The Book of Hunting , Slaughter and what may be Eaten
كتاب الصَّيْدِ وَالذَّبَائِحِ وَمَا يُؤْكَلُ مِنْ الْحَيَوَانِ
36
The Book of Sacrifices
كتاب الْأَضَاحِيِّ
37
The Book of Drink
كتاب الْأَشْرِبَةِ
38
The Book of Clothes and Adornment
كتاب اللِّبَاسِ وَالزِّينَةِ
39
The Book of Manners and Etiquette
كتاب الْآدَابِ
40
The Book of Greetings
كتاب السَّلَامِ
41
The Book Concerning the use of Correct Words
كتاب الْأَلْفَاظِ مِنْ الْأَدَبِ وَغَيْرِهَا
42
The Book of Poetry
كتاب الشِّعْرِ
43
The Book of Dreams
كتاب الرُّؤْيَا
44
The Book of Virtues
كتاب الْفَضَائِلِ
45
The Book of the Merits of the Companions
كتاب فَضَائِلِ الصَّحَابَةِ
46
The Book of Virtue, Enjoining Good Manners, and Joining of the Ties of Kinship
كتاب الْبِرِّ وَالصِّلَةِ وَالْآدَابِ
47
The Book of Destiny
كتاب الْقَدَرِ
48
The Book of Knowledge
كتاب الْعِلْمِ
49
The Book Pertaining to the Remembrance of Allah, Supplication, Repentance and Seeking Forgiveness
كتاب الذِّكْرِ وَالدُّعَاءِ وَالتَّوْبَةِ وَالِاسْتِغْفَارِ
50
The Book of Repentance
كتاب التَّوْبَةِ
51
Characteristics of The Hypocrites And Rulings Concerning Them
كتاب صِفَاتِ الْمُنَافِقِينَ وَأَحْكَامِهِمْ
52
The Book of Paradise, its Description, its Bounties and its Inhabitants
كتاب الْجَنَّةِ وَصِفَةِ نَعِيمِهَا وَأَهْلِهَا
53
The Book of Tribulations and Portents of the Last Hour
كتاب الْفِتَنِ وَأَشْرَاطِ السَّاعَةِ
54
The Book of Zuhd and Softening of Hearts
كتاب الزُّهْدِ وَالرَّقَائِقِ
55
The Book of Commentary on the Qur'an
كتاب التَّفْسِيرِ

What is Sahih Muslim Chapter 5 about?

Read Sahih Muslim, Chapter 5: The Book of Mosques and Places of Prayer. This chapter contains 409 source records. Open a narration to see its permanent reference, available translations and source information.

Topics in the narrations on this page

  • The Book of Mosques and Places of Prayer
  • The construction of the Masjid of the Prophet (saws)
  • Changing the qiblah from Al-Quds (Jerusalem) to the Ka`bah

Collection history and compiler biographySources and methodology

حَدَّثَنِي أَبُو كَامِلٍ الْجَحْدَرِيُّ، حَدَّثَنَا عَبْدُ الْوَاحِدِ، حَدَّثَنَا الْأَعْمَشُ، ح قَالَ: وَحَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، وَأَبُو كُرَيْبٍ، قَالَا: حَدَّثَنَا أَبُو مُعَاوِيَةَ، عَنِ الْأَعْمَشِ، عَنْ إِبْرَاهِيمَ التَّيْمِيِّ، عَنْ أَبِيهِ، عَنْ أَبِي ذَرٍّ، قَالَ: قُلْتُ يَا رَسُولَ اللهِ: أَيُّ مَسْجِدٍ وُضِعَ فِي الْأَرْضِ أَوَّلُ؟ قَالَ: «الْمَسْجِدُ الْحَرَامُ» قُلْتُ: ثُمَّ أَيٌّ؟ قَالَ: «الْمَسْجِدُ الْأَقْصَى» قُلْتُ: كَمْ بَيْنَهُمَا؟ قَالَ: «أَرْبَعُونَ سَنَةً، وَأَيْنَمَا أَدْرَكَتْكَ الصَّلَاةُ فَصَلِّ فَهُوَ مَسْجِدٌ» وَفِي حَدِيثِ أَبِي كَامِلٍ «ثُمَّ حَيْثُمَا أَدْرَكَتْكَ الصَّلَاةُ فَصَلِّهِ، فَإِنَّهُ مَسْجِدٌ».

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).

— Abu Dharr رضی ‌اللہ ‌عنہ ‌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 ( ‌صلی ‌اللہ ‌علیہ ‌وسلم ‌) 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.

— Ibrahim bin Yazid al-Tayml reported

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

The Prophet ( ‌صلی ‌اللہ ‌علیہ ‌وسلم ‌) said: I have been conferred upon five (things) which were not granted to anyone before me (and these are): Every apostle wassent particularly to his own people, whereas I have been sent to all the red and the black the spoils of war have been made lawful for me, and these were never made lawful to anyone before me, and the earth has been made sacred and pure and mosque for me, so whenever the time of prayer comes for any one of you he should pray whenever he is, and I have been supported by awe (by which the enemy is overwhelmed) from the distance (which one takes) one month to cover and I have been granted intercession.

— Jabir bin 'Abdullah al-Ansari رضی اللہ عنہما reported

حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا هُشَيْمٌ، أَخْبَرَنَا سَيَّارٌ، حَدَّثَنَا يَزِيدُ الْفَقِيرُ، أَخْبَرَنَا جَابِرُ بْنُ عَبْدِ اللهِ أَنَّ رَسُولُ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ قَالَ فَذَكَرَ نَحْوَهُ.

Jabir bin 'Abdullah related that the Messenger of Allah ( ‌صلی ‌اللہ ‌علیہ ‌وسلم ‌ ) said, and he related like this.

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

The Messenger of Allah (ﷺ) said: We have been made to excel (other) people in three (things): Our rows have been made like the rows of the angels and the whole earth has been made a mosque for us, and its dust has been made a purifier for us in case water is not available. And he mentioned another characteristic too.

— Hudhaifa ‌رضی ‌اللہ ‌عنہ reported

حَدَّثَنَا أَبُو كُرَيْبٍ مُحَمَّدُ بْنُ الْعَلَاءِ، أَخْبَرَنَا ابْنُ أَبِي زَائِدَةَ، عَنْ سَعْدِ بْنِ طَارِقٍ، حَدَّثَنِي رِبْعِيُّ بْنُ حِرَاشٍ، عَنْ حُذَيْفَةَ قَالَ: قَالَ رَسُولُ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ بِمِثْلِهِ.

The Messenger of Allah ( ‌صلی ‌اللہ ‌علیہ ‌وسلم ‌ ) said like this.

— Hudhaifa ‌رضی ‌اللہ ‌عنہ reported

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

The Messenger of Allah (ﷺ) said: I have been given superiority over the other prophets in six respects: I have been given words which are concise but comprehensive in meaning; I have been helped by terror (in the hearts of enemies): spoils have been made lawful to me: the earth has been made for me clean and a place of worship; I have been sent to all mankind and the line of prophets is closed with me.

— Abu Huraira رضی ‌اللہ ‌عنہ ‌reported

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

The Messenger of Allah ( ‌صلی ‌اللہ ‌علیہ ‌وسلم ‌) said: I have been commissioned with words which are concise but comprehensive in meaning; I have been helped by terror (in the hearts of enemies): and while I was asleep I was brought the keys of the treasures of the earth which were placed in my hand. And Abu Huraira ‌رضی ‌اللہ ‌عنہ added: The Messenger of Allah ( ‌صلی ‌اللہ ‌علیہ ‌وسلم ‌) has left (for his heavenly home) and you are now busy in getting them.

— Abu Huraira رضی ‌اللہ ‌عنہ reported

وَحَدَّثَنَا حَاجِبُ بْنُ الْوَلِيدِ، حَدَّثَنَا مُحَمَّدُ بْنُ حَرْبٍ، عَنِ الزُّبَيْدِيِّ، عَنِ الزُّهْرِيِّ، أَخْبَرَنِي سَعِيدُ بْنُ الْمُسَيِّبِ، وَأَبُو سَلَمَةَ بْنُ عَبْدِ الرَّحْمَنِ، أَنَّ أَبَا هُرَيْرَةَ، قَالَ: سَمِعْتُ رَسُولَ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ، يَقُولُ مِثْلَ حَدِيثِ يُونُسَ.

I heard the Messenger of Allah ( ‌صلی ‌اللہ ‌علیہ ‌وسلم ‌ ) saying a hadith like that of Yunus.

— Abu Huraira رضی ‌اللہ ‌عنہ ‌reported

حَدَّثَنَا مُحَمَّدُ بْنُ رَافِعٍ، وَعَبْدُ بْنُ حُمَيْدٍ، قَالَا: حَدَّثَنَا عَبْدُ الرَّزَّاقِ، أَخْبَرَنَا مَعْمَرٌ، عَنِ الزُّهْرِيِّ، عَنِ ابْنِ الْمُسَيِّبِ، وَأَبِي سَلَمَةَ، عَنْ أَبِي هُرَيْرَةَ، عَنِ النَّبِيِّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ بِمِثْلِهِ.

This hadith has been narrated by Abu Huraira رضی ‌اللہ ‌عنہ ‌by another chain of transmitters.

وَحَدَّثَنِي أَبُو الطَّاهِرِ، أَخْبَرَنَا ابْنُ وَهْبٍ، عَنْ عَمْرِو بْنِ الْحَارِثِ، عَنْ أَبِي يُونُسَ، مَوْلَى أَبِي هُرَيْرَةَ أَنَّهُ حَدَّثَهُ، عَنْ أَبِي هُرَيْرَةَ، عَنْ رَسُولِ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ أَنَّهُ قَالَ: «نُصِرْتُ بِالرُّعْبِ عَلَى الْعَدُوِّ وَأُوتِيتُ جَوَامِعَ الْكَلِمِ، وَبَيْنَمَا أَنَا نَائِمٌ أُتِيتُ بِمَفَاتِيحِ خَزَائِنِ الْأَرْضِ، فَوُضِعَتْ فِي يَدَيَّ».

The Messenger of Allah ( ‌صلی ‌اللہ ‌علیہ ‌وسلم ‌) said: I have been helped by terror (in the heart of the enemy) ; I have been given words which are concise but comprehensive in meaning; and while I was asleep I was brought the keys of the treasures of the earth which were placed in my hand.

— Abu Huraira ‌رضی ‌اللہ ‌عنہ reported

حَدَّثَنَا مُحَمَّدُ بْنُ رَافِعٍ حَدَّثَنَا عَبْدُ الرَّزَاقِ حَدَّثَنَا مَعْمَرٌ عَنْ هَمَّامِ بْنِ مُنَبِّهٍ قَالَ: هَذَا مَا حَدَّثَنَا أَبُو هُرَيْرَةَ عَنْ رَسُولِ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ فَذَكَرَ أَحَادِيثَ مِنْهَا وَقَالَ رَسُولُ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ: «نُصِرْتُ بِالرُّعْبِ وَأُوتِيتُ جَوَامِعَ الْكَلِمِ».

That is what Abu Huraira ‌رضی ‌اللہ ‌عنہ ‌reported to us from the Messenger of Allah ( ‌صلی ‌اللہ ‌علیہ ‌وسلم ‌) and he narrated (some) a hadith one of which is that the Messenger of Allah ( ‌صلی ‌اللہ ‌علیہ ‌وسلم ‌) said: I have been helped by terror (in the hearts of enemies) and I have been given words which are concise but comprehensive in meaning.

— Hammam bin Munabbih reported

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

The Messenger of Allah ( ‌صلی ‌اللہ ‌علیہ ‌وسلم ‌ ) came to Medina and stayed in the upper part of Medina for fourteen nights with a tribe called Banu 'Amr bin 'Auf. He then sent for the chiefs of Banu al-Najir, and they came with swords around their inecks. He (the narrator) said: I perceive as if I am seeing the Messenger of Allah ( ‌صلی ‌اللہ ‌علیہ ‌وسلم ‌ ) on his ride with Abu Bakr رضی ‌اللہ ‌عنہ ‌behind him and the chiefs of Banu al-Najjar around him till he alighted in the courtyard of Abu Ayyub رضی ‌اللہ ‌عنہ . He (the narrator) said: The Messenger of Allah ( ‌صلی ‌اللہ ‌علیہ ‌وسلم ‌ ) said prayer when the time came for prayer, and he prayed in the fold of goats and sheep. He then ordered mosques to be built and sent for the chiefs of Banu al-Najjar, and they came (to him). He (the Holy Prophet) said to them: O Banu al-Najjar, sell these lands of yours to me. They said: No, by Allah. we would not demand their price, but (reward) from the Lord. Anas رضی ‌اللہ ‌عنہ said: There (in these lands) were trees and graves of the polytheists, and ruins. The Messenger of Allah (may peace he upon him) ordered that the trees should be cut, and the graves should be dug out, and the ruins should be levelled. The trees (were thus) placed in rows towards the qibla and the stones were set on both sides of the door, and (while building the mosque) they (the Companions) sang rajaz verses along with the Messenger of Allah ( ‌صلی ‌اللہ ‌علیہ ‌وسلم ‌ ): O Allah: there is no good but the good of the next world, So help the Ansar and the Muhajirin.

— Anas bin Malik رضی ‌اللہ ‌عنہ ‌reported

حَدَّثَنَا عُبَيْدُ اللهِ بْنُ مُعَاذٍ الْعَنْبَرِيُّ، حَدَّثَنَا أَبِي، حَدَّثَنَا شُعْبَةُ، حَدَّثَنِي أَبُو التَّيَّاحِ، عَنْ أَنَسٍ، «أَنَّ رَسُولَ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ كَانَ يُصَلِّي فِي مَرَابِضِ الْغَنَمِ، قَبْلَ أَنْ يُبْنَى الْمَسْجِدُ.

The Messenger of Allah ( ‌صلی ‌اللہ ‌علیہ ‌وسلم ‌) used to pray in the folds of the sheep and goats before the mosque was built.

— Anas رضی ‌اللہ ‌عنہ reported

حَدَّثَنَا يَحْيَى بْنُ حَبِيبٍ، أَخْبَرَنَا خَالِدٌ يَعْنِي ابْنَ الْحَارِثِ، حَدَّثَنَا شُعْبَةُ، عَنْ أَبِي التَّيَّاحِ، قَالَ: سَمِعْتُ أَنَسًا، يَقُولُ: كَانَ رَسُولَ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ بِمِثْلِهِ.

I heard from Anas ‌رضی ‌اللہ ‌عنہ a narration like this from the Messenger of Allah ( ‌صلی ‌اللہ ‌علیہ ‌وسلم ‌).

— Abu al-Tiyyah reported

حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا أَبُو الْأَحْوَصِ، عَنْ أَبِي إِسْحَاقَ، عَنِ الْبَرَاءِ بْنِ عَازِبٍ، قَالَ: «صَلَّيْتُ مَعَ النَّبِيِّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ إِلَى بَيْتِ الْمَقْدِسِ سِتَّةَ عَشَرَ شَهْرًا» حَتَّى نَزَلَتِ الْآيَةُ الَّتِي فِي الْبَقَرَةِ {وَحَيْثُ مَا كُنْتُمْ فَوَلُّوا وُجُوهَكُمْ شَطْرَهُ} [البقرة: 144] فَنَزَلَتْ بَعْدَمَا صَلَّى النَّبِيُّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ، فَانْطَلَقَ رَجُلٌ مِنَ الْقَوْمِ فَمَرَّ بِنَاسٍ مِنَ الْأَنْصَارِ وَهُمْ يُصَلُّونَ، فَحَدَّثَهُمْ، فَوَلُّوا وُجُوهَهُمْ قِبَلَ الْبَيْتِ.

I said prayer with the Apostle ( ‌صلی ‌اللہ ‌علیہ ‌وسلم ‌) turning towards Bait-ul-Maqdis for sixteen months till this verse of Surah Baqara wis revealed: And wherever you are turn your faces towards it (ii. 144). This verse was revealed when the Apostle ( ‌صلی ‌اللہ ‌علیہ ‌وسلم ‌ ) had said prayer. A person amongst his people passed by the people of Ansar as they were engaged in prayer. He narrated to them (this command of Allah) and they turned their faces towards the Ka'ba.

— Al-Bara' bin 'Azib ‌رضی ‌اللہ ‌عنہ ‌reported

حَدَّثَنَا مُحَمَّدُ بْنُ الْمُثَنَّى، وَأَبُو بَكْرِ بْنُ خَلَّادٍ، جَمِيعًا عَنْ يَحْيَى، قَالَ ابْنُ الْمُثَنَّى: حَدَّثَنَا يَحْيَى بْنُ سَعِيدٍ، عَنْ سُفْيَانَ، حَدَّثَنِي أَبُو إِسْحَاقَ، قَالَ: سَمِعْتُ الْبَرَاءَ، يَقُولُ: «صَلَّيْنَا مَعَ رَسُولِ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ نَحْوَ بَيْتِ الْمَقْدِسِ سِتَّةَ عَشَرَ شَهْرًا، أَوْ سَبْعَةَ عَشَرَ شَهْرًا، ثُمَّ صُرِفْنَا نَحْوَ الْكَعْبَةِ».

I heard al-Bara' رضی ‌اللہ ‌عنہ saying: We prayed with the Messenger of Allah ( ‌صلی ‌اللہ ‌علیہ ‌وسلم ‌ ) (with our faces) towards Bait-ul-Maqdis for sixteen months or seventeen months. Then we were made to change (our direction) towards the Ka'ba.

— Abu Ishaq reported

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

As the people were praying at Quba' a man came to them and said: It has been revealed to file Messenger of Allah ( ‌صلی ‌اللہ ‌علیہ ‌وسلم ‌) during the night and he has been directed to turn towards the Ka'ba. So turn towards it. Their faces were towards Syria and they turned round towards Ka'ba.

— Ibn 'Umar رضی ‌اللہ ‌عنہ ‌reported

حَدَّثَنِي سُوَيْدُ بْنُ سَعِيدٍ، حَدَّثَنِي حَفْصُ بْنُ مَيْسَرَةَ، عَنْ مُوسَى بْنِ عُقْبَةَ، عَنْ نَافِعٍ، عَنِ ابْنِ عُمَرَ، وَعَنْ عَبْدِ اللهِ بْنِ دِينَارٍ، عَنِ ابْنِ عُمَرَ، قَالَ: بَيْنَمَا النَّاسُ فِي صَلَاةِ الْغَدَاةِ إِذْ جَاءَهُمْ رَجُلٌ، بِمِثْلِ حَدِيثِ مَالِكٍ.

As the people were engaged in the morning prayer a man came to them. The rest of the hadith is the same.

— Ibn 'Umar ‌رضی ‌اللہ ‌عنہ ‌reported

حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا عَفَّانُ، حَدَّثَنَا حَمَّادُ بْنُ سَلَمَةَ، عَنْ ثَابِتٍ، عَنْ أَنَسٍ: «أَنَّ رَسُولَ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ كَانَ يُصَلِّي نَحْوَ بَيْتِ الْمَقْدِسِ»، فَنَزَلَتْ: {قَدْ نَرَى تَقَلُّبَ وَجْهِكَ فِي السَّمَاءِ فَلَنُوَلِّيَنَّكَ قِبْلَةً تَرْضَاهَا فَوَلِّ وَجْهَكَ شَطْرَ الْمَسْجِدِ الْحَرَامِ} [البقرة: 144] فَمَرَّ رَجُلٌ مِنْ بَنِي سَلَمَةَ وَهُمْ رُكُوعٌ فِي صَلَاةِ الْفَجْرِ، وَقَدْ صَلَّوْا رَكْعَةً، فَنَادَى: أَلَا إِنَّ الْقِبْلَةَ قَدْ حُوِّلَتْ، فَمَالُوا كَمَا هُمْ نَحْوَ الْقِبْلَةِ.

The Messenger of Allah ( ‌صلی ‌اللہ ‌علیہ ‌وسلم ‌) used to pray towards Bait-ul-Maqdis, that it was revealed (to him): Indeed We see the turning of the face to heaven, wherefore We shall assuredly cause thee to turn towards Qibla which shall please thee. So turn thy face towards the sacred Mosque (Ka'ba) (ii. 144). A person from Banu Salama was going; (he found the people) in ruk'u (while) praying the dawn prayer and they had said one rak'ah. He said in a loud voice: Listen! the Qibla has been changed and they turned towards (the new) Qibla (Ka'ba) in that very state.

— Anas رضی ‌اللہ ‌عنہ reported

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

Umm Habiba and Umm Salama رضی اللہ عنہما made a mention before the Messenger of Allah ( ‌صلی ‌اللہ ‌علیہ ‌وسلم ) of a church which they had seen in Abyssinia and which had pictures in it. The Messenger of Allah ( ‌صلی ‌اللہ ‌علیہ ‌وسلم ‌) said: When a pious person amongst them (among the religious groups) dies they build a place of worship on his grave, and then decorate it with such pictures. They would be the worst of creatures on the Day of judgment in the sight of Allah.

— A'isha reported

حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، وَعَمْرٌو النَّاقِدُ، قَالَا: حَدَّثَنَا وَكِيعٌ، حَدَّثَنَا هِشَامُ بْنُ عُرْوَةَ، عَنْ أَبِيهِ، عَنْ عَائِشَةَ، أَنَّهُمْ تَذَاكَرُوا عِنْدَ رَسُولِ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ فِي مَرَضِهِ فَذَكَرَتْ أُمُّ سَلَمَةَ وَأُمُّ حَبِيبَةَ كَنِيسَةً ثُمَّ ذَكَرَ نَحْوَهُ.

A'isha reported: They (some Companions of the Holy Prophet) were conversing with one another in the presence of the Messenger of Allah ( ‌صلی ‌اللہ ‌علیہ ‌وسلم ‌ ) (during his last) illness. Umm Salama and Umm Habiba made a mention of the church and then (the hadith was) narrated.

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

The wives of the Messenger of Allah (ﷺ) made a mention of the church which they had seen in Abyssinia which was called Mariya, and the rest of the hadith is the same.

— A'isha رضی اللہ عنہا reported

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

The Messenger of Allah ( ‌صلی ‌اللہ ‌علیہ ‌وسلم ‌) said during his illness from which he never recovered: Allah cursed the Jews and the Christians that they took the graves of their prophets as mosques. She ('A'isha) reported: Had it not been so, his (Prophet's) grave would have been in an open place, but it could not be due to the fear that it may not be taken as a mosque. According to the report of Ibn Abi Shaibah: Were it not for that...'' and he did not mention: "She said."

— A'isha رضی اللہ عنہا reported

حَدَّثَنَا هَارُونُ بْنُ سَعِيدٍ الْأَيْلِيُّ، حَدَّثَنَا ابْنُ وَهْبٍ، أَخْبَرَنِي يُونُسُ، وَمَالِكٌ، عَنِ ابْنِ شِهَابٍ، حَدَّثَنِي سَعِيدُ بْنُ الْمُسَيِّبِ، أَنَّ أَبَا هُرَيْرَةَ، قَالَ: قَالَ رَسُولُ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ: «قَاتَلَ اللهُ الْيَهُودَ، اتَّخَذُوا قُبُورَ أَنْبِيَائِهِمْ مَسَاجِدَ».

The Messenger of Allah ( ‌صلی ‌اللہ ‌علیہ ‌وسلم ‌) said: Let Allah destroy the Jews for they have taken the graves of their apostles as places of worship.

— Abu Huraira رضی ‌اللہ ‌عنہ reported