Jami` at-Tirmidhi 3099
جامع الترمذي#3099Sahihحَدَّثَنَا قُتَيْبَةُ، حَدَّثَنَا اللَّيْثُ، عَنْ عِمْرَانَ بْنِ أَبِي أَنَسٍ، عَنْ عَبْدِ الرَّحْمَنِ بْنِ أَبِي سَعِيدٍ، عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ، أَنَّهُ قَالَ تَمَارَى رَجُلاَنِ فِي الْمَسْجِدِ الَّذِي أُسِّسَ عَلَى التَّقْوَى مِنْ أَوَّلِ يَوْمٍ فَقَالَ رَجُلٌ هُوَ مَسْجِدُ قُبَاءَ وَقَالَ الآخَرُ هُوَ مَسْجِدُ رَسُولِ اللَّهِ صلى الله عليه وسلم . فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم " هُوَ مَسْجِدِي هَذَا " . قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ حَسَنٌ صَحِيحٌ غَرِيبٌ مِنْ حَدِيثِ عِمْرَانَ بْنِ أَبِي أَنَسٍ . وَقَدْ رُوِيَ هَذَا عَنْ أَبِي سَعِيدٍ مِنْ غَيْرِ هَذَا الْوَجْهِ رَوَاهُ أُنَيْسُ بْنُ أَبِي يَحْيَى عَنْ أَبِيهِ عَنْ أَبِي سَعِيدٍ رضى الله عنه .
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 (ﷺ).' So the Messenger of Allah (ﷺ) said: 'It is this Masjid of mine
Scholarly Authentication
The label above is the grade most of these scholars gave — one dissenting opinion no longer speaks for all of them. If any scholar calls a narration fabricated, that verdict is shown instead, whatever the others say. Each scholar's own wording:
In-book reference: 47:151