Abu Hurairah (Allah be pleased with him) reported it directly from Allah's Apostle (ﷺ) that he said
Do not undertake a journey to visit any Mosque, but three: this Mosque of mine, the Mosque of al-Haram and the Mosque of Aqsa (Bait al-Maqdis).
This hadith has been narrated on the authority of Zuhri (but with this change of words) that he (Allah's Apostle) said
" Undertake journey to three mosques."
Abu Haraira (Allah be pleased with him) reported Allah's Messenger (way peace be upon him) as saying
One should undertake journey to three mosques: the mosque of the Ka'ba, my mosque, and the mosque of Elia (Bait al-Maqdis).