Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
abudawud:3305Mūsá b. Ismāʿīl > Ḥammād > Ḥabīb al-Muʿallim > ʿAṭāʾ b. Abū Rabāḥ > Jābir b. ʿAbdullāh > a man Qām Yawm al-Fatḥ

A man stood on the day of Conquest (of Mecca) and said: Messenger of Allah, I have vowed to Allah that if He grants conquest of Mecca at your hands, I shall pray two rak'ahs in Jerusalem. He replied: Pray here. He repeated (his statement) to him and he said: Pray here. He again repeated (his statement) to him. He (the Prophet) replied: Pursue your own course, then. Abu Dawud said: A similar tradition has been narrated by 'Abd al-Rahman b. 'Awf from the Prophet ﷺ.  

أبو داود:٣٣٠٥حَدَّثَنَا مُوسَى بْنُ إِسْمَاعِيلَ قَالَ حَدَّثَنَا حَمَّادٌ قَالَ أَخْبَرَنَا حَبِيبٌ الْمُعَلِّمُ عَنْ عَطَاءِ بْنِ أَبِي رَبَاحٍ عَنْ جَابِرِ بْنِ عَبْدِ اللَّهِ أَنَّ رَجُلاً قَامَ يَوْمَ الْفَتْحِ فَقَالَ

يَا رَسُولَ اللَّهِ إِنِّي نَذَرْتُ لِلَّهِ إِنْ فَتَحَ اللَّهُ عَلَيْكَ مَكَّةَ أَنْ أُصَلِّيَ فِي بَيْتِ الْمَقْدِسِ رَكْعَتَيْنِ قَالَ صَلِّ هَا هُنَا ثُمَّ أَعَادَ عَلَيْهِ فَقَالَ صَلِّ هَا هُنَا ثُمَّ أَعَادَ عَلَيْهِ فَقَالَ شَأْنَكَ إِذًا  

قَالَ أَبُو دَاوُدَ رُوِيَ نَحْوُهُ عَنْ عَبْدِ الرَّحْمَنِ بْنِ عَوْفٍ عَنِ النَّبِيِّ ﷺ

See similar narrations below:

Collected by Aḥmad, Dārimī
ahmad:14919ʿAffān > Ḥammād b. Salamah > Ḥabīb al-Muʿallim > ʿAṭāʾ > Jābir > a man

[Machine] "On the day of victory, O Messenger of Allah, I have vowed that if Allah grants you the conquest of Mecca, I will pray in the Al-Masjid Al-Haram (the Sacred Mosque). He said, 'Pray here.'" Then he asked him again, and he said, 'Pray here.' Then he asked him again, and he said, 'What is your wish then?'"  

أحمد:١٤٩١٩حَدَّثَنَا عَفَّانُ حَدَّثَنَا حَمَّادُ بْنُ سَلَمَةَ أَخْبَرَنَا حَبِيبٌ الْمُعَلِّمُ عَنْ عَطَاءٍ عَنْ جَابِرٍ أَنَّ رَجُلًا قَالَ

يَوْمَ الْفَتْحِ يَا رَسُولَ اللهِ إِنِّي نَذَرْتُ إِنْ فَتَحَ اللهُ عَلَيْكَ مَكَّةَ أَنْ أُصَلِّيَ فِي بَيْتِ الْمَقْدِسِ فَقَالَ صَلِّ هَاهُنَا فَسَأَلَهُ فَقَالَ صَلِّ هَاهُنَا فَسَأَلَهُ فَقَالَ شَأْنَكَ إِذًا  

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

[Machine] "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?'"  

الدارمي:٢٣٨٤حَدَّثَنَا حَجَّاجُ بْنُ مِنْهَالٍ حَدَّثَنَا حَمَّادُ بْنُ سَلَمَةَ عَنْ حَبِيبِ بْنِ أَبِي بَقِيَّةَ الْمُعَلِّمِ عَنْ عَطَاءِ بْنِ أَبِي رَبَاحٍ عَنْ جَابِرِ بْنِ عَبْدِ اللَّهِ أَنَّ رَجُلًا قَالَ

يَا رَسُولَ اللَّهِ إِنِّي نَذَرْتُ إِنْ فَتَحَ اللَّهُ عَلَيْكَ أَنْ أُصَلِّيَ فِي بَيْتِ الْمَقْدِسِ فَقَالَ صَلِّ هَا هُنَا فَأَعَادَ عَلَيْهِ ثَلَاثَ مَرَّاتٍ فَقَالَ النَّبِيُّ ﷺ فَشَأْنُكَ إِذَنْ