Sunan Abi Da'ud · Hadith 2033
The Rites of Hajj (Kitab Al-Manasik Wa'l-Hajj) - كتاب المناسك
حدثنا مسدد، حدثنا سفيان، عن الزهري، عن سعيد بن المسيب، عن أبي هريرة، عن النبي صلى الله عليه وسلم قال " لا تشد الرحال إلا إلى ثلاثة مساجد مسجد الحرام ومسجدي هذا والمسجد الأقصى " .
Abu Hurairah reported the Prophet (ﷺ) as saying “Journey should not be made(to visit any masjid) except towards three masjids: The sacred masjid(of Makkah), this masjid of mine and Al Aqsa masjid(in Jerusalem).
Gradings are classical jarḥ-wa-taʿdīl, name-matched to a rijāl index (not individually re-verified).