Hadith 1.2
Oaths and Vows
Jabir b. ‘Abdallah told that a man got up on the day of the Conquest and said, “Messenger of God, I have vowed to God who is great and glorious that if God conquers Mecca at your hands I shall pray two <i>rak'as</i> in Jerusalem.” He replied, “Pray here.” He repeated his statement to him and he replied, “Pray here.” He again repeated it to him and he replied, “Pursue your own course, then.” Abu Dawud and Darimi transmitted it.
وَعَن جَابر بن عبد الله: أَنَّ رَجُلًا قَامَ يَوْمَ الْفَتْحِ فَقَالَ: يَا رَسُول الله لِلَّهِ عَزَّ وَجَلَّ إِنْ فَتَحَ اللَّهُ عَلَيْكَ مَكَّةَ أَنْ أُصَلِّيَ فِي بَيْتِ الْمَقْدِسِ رَكْعَتَيْنِ قَالَ: «صلى الله عَلَيْهِ وَسلم هَهُنَا» ثمَّ عَاد فَقَالَ: «صل هَهُنَا» ثُمَّ أَعَادَ عَلَيْهِ فَقَالَ: «شَأْنَكَ إِذًا» . رَوَاهُ أَبُو دَاوُد والدارمي
Hadith gradings, numbering and translations can differ between editions. For legal rulings or detailed interpretation, consult qualified scholarship and the referenced edition.