Sunan ad-Darimi 2384
Ḥajjāj b. Minhāl > Ḥammād b. Salamah > Ḥabīb b. Abū Baqiyyah al-Muʿallim > ʿAṭāʾ b. Abū Rabāḥ > Jābir b. ʿAbdullāh > a man
"O Messenger of Allah, I have made a vow that if Allah grants you victory, I will pray in Al-Masjid Al-Aqsa (the Holy Mosque). He said, 'Pray here.' So, I repeated it to him three times. Then, the Prophet ﷺ said, 'So what is your intention then?'" – Sound Chain
حَدَّثَنَا حَجَّاجُ بْنُ مِنْهَالٍ حَدَّثَنَا حَمَّادُ بْنُ سَلَمَةَ عَنْ حَبِيبِ بْنِ أَبِي بَقِيَّةَ الْمُعَلِّمِ عَنْ عَطَاءِ بْنِ أَبِي رَبَاحٍ عَنْ جَابِرِ بْنِ عَبْدِ اللَّهِ أَنَّ رَجُلًا قَالَ
يَا رَسُولَ اللَّهِ إِنِّي نَذَرْتُ إِنْ فَتَحَ اللَّهُ عَلَيْكَ أَنْ أُصَلِّيَ فِي بَيْتِ الْمَقْدِسِ فَقَالَ صَلِّ هَا هُنَا فَأَعَادَ عَلَيْهِ ثَلَاثَ مَرَّاتٍ فَقَالَ النَّبِيُّ ﷺ فَشَأْنُكَ إِذَنْ – إسناده صحيح