Oaths and Vows (Kitab Al-Aiman Wa Al-Nudhur)

Dawud :: Book 21 : Hadith 3299

Narrated Jabir ibn Abdullah:

A man stood on the day of Conquest (of Mecca) and said: Apostle 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.

Source materials are from the University of Southern California MSA site
Hadith eBooks converted from Imaan Star