حَدَّثَنَا مُوسَى بْنُ إِسْمَاعِيلَ، قَالَ حَدَّثَنَا حَمَّادٌ، قَالَ أَخْبَرَنَا حَبِيبٌ الْمُعَلِّمُ، عَنْ عَطَاءِ بْنِ أَبِي رَبَاحٍ، عَنْ جَابِرِ بْنِ عَبْدِ اللَّهِ، ‏:‏ أَنَّ رَجُلاً، قَامَ يَوْمَ الْفَتْحِ فَقَالَ ‏:‏ يَا رَسُولَ اللَّهِ إِنِّي نَذَرْتُ لِلَّهِ إِنْ فَتَحَ اللَّهُ عَلَيْكَ مَكَّةَ أَنْ أُصَلِّيَ فِي بَيْتِ الْمَقْدِسِ رَكْعَتَيْنِ ‏.‏ قَالَ ‏:‏ ‏"‏ صَلِّ هَا هُنَا ‏"‏ ثُمَّ أَعَادَ عَلَيْهِ فَقَالَ ‏:‏ ‏"‏ صَلِّ هَا هُنَا ‏"‏ ثُمَّ أَعَادَ عَلَيْهِ فَقَالَ ‏:‏ ‏"‏ شَأْنَكَ إِذًا ‏"‏ ‏.‏ قَالَ أَبُو دَاوُدَ ‏:‏ رُوِيَ نَحْوُهُ عَنْ عَبْدِ الرَّحْمَنِ بْنِ عَوْفٍ عَنِ النَّبِيِّ صلى الله عليه وسلم ‏.‏
Translation
Narrated Jabir ibn Abdullah

That a man stood on the day of the Conquest and said, "O Messenger of Allah, I have vowed to Allah that if Allah grants you the conquest of Mecca, I will pray two units of prayer in Bayt al-Maqdis." He said, "Pray here." Then he repeated it to him, and he said, "Pray here." Then he repeated it to him, and he said, "Do as you please then."

Abu Dawud said: A similar report has been narrated from 'Abd al-Rahman ibn 'Awf from the Prophet, may Allah bless him and grant him peace.