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 ﷺ.
Explanation & Benefits
Shaykh Umar Farooq Saeedi
Benefits and Issues:
If someone vows to perform an act of worship in a specific place, it is permissible.
However, it is better to fulfill that vow in a place superior to it; the most superior mosque is the Sacred House of Allah (Baytullah al-Haram).
After that is the Prophet’s Mosque (Masjid an-Nabawi sallallahu alayhi wa sallam), and then Bayt al-Maqdis (Al-Aqsa Mosque).
Source: Sunan Abu Dawood – Commentary by Shaykh Umar Farooq Saeedi, Page: 3306