CHAPTER: One Who Vows To Perform Salah In Bait Al-Maqdis (Jerusalem).
Narrated Jabir ibn Abdullah: A man stood on the day of Conquest (of Makkah) and said: Messenger of Allah, I have vowed to Allah that if He grants conquest of Makkah 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 Abdur-Rahman bin Awf from the Prophet صلی اللہ علیہ وسلم.
The tradition mentioned above (No. 3299) has also been transmitted by Umar ibn Abdur-Rahman ibn Awf on the authority of his father and the Companions of the Prophet صلی اللہ علیہ وسلم. This version has: The Prophet صلی اللہ علیہ وسلم said: By Him Who sent Muhammad with truth, if you prayed here, this would be sufficient for you like the prayer in Jerusalem. Abu Dawud said: This tradition has also been transmitted by al-Ansari, from Ibn-Juraij. He said: Jafar bin Umar and Amr bin Hayyah. He said: They transmitted from Abdur-Rahman bin Awf and from the Companions of the Prophet صلی اللہ علیہ وسلم.