Abu Basra reported,

I met Abu Hurayrah while he was traveling to the mosque on Mount Tur to pray there.I said to him, "Had I caught up with you before you set out, you would not have traveled."He asked, "Why is that?"I replied, "I heard the Messenger of Allah ﷺ say, 'Journeys should not be undertaken except to three mosques, the Sacred Mosque, the Aqsa Mosque, and my mosque.'"

Ahmad 27230

Sahih

حدثنا يعقوب قال حدثنا أبي عن ابن إسحاق قال حدثني يزيد بن أبي حبيب عن مرثد بن عبد الله اليزني

عن أبي بصرة الغفاري قال

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

أحمد 27230صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abu Basra Ghifari
Numbering
Darussalam 27230
Ahmad 27230