[Machine] The Prophet said: "Do not travel except to three mosques: the Masjid al-Haram (the Sacred Mosque), the mosque of the Messenger of Allah ﷺ , and the Al-Aqsa Mosque." Ibn al-Madeeni said, "Sufyan informed us about this narration with this wording, and the majority of its wording states: 'Do not travel except to three mosques'."
عَنِ النَّبِيِّ ﷺ قَالَ لَا تُشَدُّ الرِّحَالُ إِلَّا إِلَى ثَلَاثَةِ مَسَاجِدَ الْمَسْجِدِ الْحَرَامِ وَمَسْجِدِ رَسُولِ اللهِ ﷺ وَالْمَسْجِدِ الْأَقْصَى قَالَ ابْنُ الْمَدِينِيِّ هَكَذَا حَدَّثَنَا بِهِ سُفْيَانُ هَذِهِ الْمَرَّةَ عَلَى هَذَا اللَّفْظِ وَأَكْثَرُ لَفْظِهِ تُشَدُّ الرِّحَالُ إِلَى ثَلَاثَةِ مَسَاجِدَ