عَنْ جَابِرٍ رَضِيَ اللَّهُ عَنْهُ، عَنِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ قَالَ: ”لَا يَدْخُلُ مَسْجِدَنَا هَذَا مُشْرِكٌ بَعْدَ عَامِنَا هَذَا غَيْرَ أَهْلِ الْكِتَابِ وَخَدَمِهِمْ“
It is narrated from Sayyiduna Jabir bin Abdullah (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) said: After this year, no polytheist will enter our mosque, however, the People of the Book and their servants may come.
((وَعَنْهُ مِنْ طَرِيقٍ ثَانٍ) بِنَحْوِهِ) وَفِيهِ: ”إِلَّا أَهْلَ الْعَهْدِ وَخَدَمَهُمْ“
Second chain) A similar hadith is narrated, however, in this it is stated: The dhimmi people and their servants will be able to come.
وَعَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ رَضِيَ اللَّهُ عَنْهُ يَقُولُ: اخْتَلَفَ رَجُلَانِ أَوِ امْتَرَيَا، رَجُلٌ مِنْ بَنِي خُدْرَةَ وَرَجُلٌ مِنْ بَنِي عَمْرِو بْنِ عَوْفٍ فِي الْمَسْجِدِ الَّذِي أُسِّسَ عَلَى التَّقْوَى، قَالَ الْخُدْرِيُّ: هُوَ مَسْجِدُ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ، وَقَالَ الْعَمْرِيُّ: هُوَ مَسْجِدُ قُبَاءَ، فَأَتَيَا رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ فَسَأَلَاهُ عَنْ ذَلِكَ، فَقَالَ: ”هُوَ هَذَا الْمَسْجِدُ لِمَسْجِدِ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ، وَقَالَ: فِي ذَاكَ خَيْرٌ كَثِيرٌ، يَعْنِي مَسْجِدَ قُبَاءَ“ [سورة التوبة: 108]
It is narrated from Sayyiduna Abu Sa'id Khudri (may Allah be pleased with him) that two men from Banu Khudrah and Banu 'Amr bin 'Awf had a disagreement regarding which mosque is meant in the Noble Qur'an where it is mentioned that the foundation of that mosque was laid on piety from the very first day. The man from Banu Khudrah said that it refers to Masjid Nabawi, while the man from Banu 'Amr bin 'Awf said: it refers to Masjid Quba. Both of them came to the Messenger of Allah (peace and blessings be upon him) and asked him about this matter. The Messenger of Allah (peace and blessings be upon him) said: It refers to this mosque of mine, i.e., Masjid Nabawi; however, there is also much goodness and virtue in Masjid Quba.
وَعَنْ سَهْلِ بْنِ سَعْدٍ السَّاعِدِيِّ رَضِيَ اللَّهُ عَنْهُ بِنَحْوِهِ وَفِيهِ: أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ قَالَ: ”هُوَ مَسْجِدِي هَذَا“ [سورة التوبة: 108]
Sayyiduna Sahl bin Sa’d Sa’idi (may Allah be pleased with him) has also narrated a hadith of this meaning, however, in it are these words: The Noble Prophet (peace and blessings be upon him) said: It is this very mosque of mine.