Jabir bin Abdullah reported,

A man stood up on the day of the conquest and said, "Messenger of Allah, I vowed to Allah that if Allah granted you victory over Mecca, I would pray two rakahs in Bayt al-Maqdis."He replied, "Pray here."The man repeated his question, and he said again, "Pray here."The man repeated it once more, and he said, "Then do as you wish."

Abu Dawud 3305

Sahih

حدثنا موسى بن إسمعيل حدثنا حماد أخبرنا حبيب المعلم عن عطاء بن أبي رباح

عن جابر بن عبد الله

أن رجلا قام يوم الفتح فقال يا رسول الله إني نذرت لله إن فتح الله عليك مكة أن أصلي في بيت المقدس ركعتين قال صل هاهنا ثم أعاد عليه فقال صل هاهنا ثم أعاد عليه فقال شأنك إذن

أبو داود 3305صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Oaths and vows
Chapter
One who vowed to pray in Bayt al-Maqdis
Numbering
Darussalam 3305
Abu Dawud 3305