HAKIM 7839: from a man Nadhar —
[Machine] About this, the Messenger of Allah ﷺ said to him, the Messenger of Allah ﷺ said, "Pray here," meaning in the Haram Mosque. He said, "O Messenger of Allah, I have only vowed to pray in the sacred house (in Jerusalem)." He said, "Pray here."

الحاكم ٧٨٣٩: عن ا من نذر —
عَنْ ذَلِكَ رَسُولَ اللَّهِ ﷺ فَقَالَ لَهُ رَسُولُ اللَّهِ ﷺ «صَلِّ هَاهُنَا» يَعْنِي فِي الْمَسْجِدِ الْحَرَامِ فَقَالَ يَا رَسُولَ اللَّهِ إِنَّمَا نَذَرْتُ أَنْ أُصَلِّيَ فِي بَيْتِ الْمَقْدِسِ فَقَالَ «صَلِّ هَاهُنَا»


No Grade (Dhahabī)
Ḥākim > Book of Vows
hadithunlocked.com