The Prophet ﷺ said, "Journeys are not to be undertaken except to three mosques, the Sacred Mosque, my mosque, and the Aqsa Mosque."Sufyan said, "Journeys are not to be undertaken except to three mosques, all alike."
حدثنا سفيان عن الزهري عن سعيد
عن النبي ﷺ قال تشد الرحال إلى ثلاثة مساجد المسجد الحرام ومسجدي والمسجد الأقصى قال سفيان ولا تشد الرحال إلا إلى ثلاث مساجد سواء
Its isnad is sahih, and it is a repetition of 7191. We already noted there the report of the two Shaykhs (Bukhari and Muslim) transmitting it through Sufyan bin Uyayna. This is that report of Sufyan.Sufyan narrated it here with both wordings, "journeys are undertaken to three mosques" and "journeys are not to be undertaken except to three mosques," and he stated that the two are equivalent, both being confirmed as things he heard directly.The report of the two Shaykhs through Sufyan has the wording "are not to be undertaken." The earlier report, 7191, is the report of Abdul-Ala from Mamar from Zuhri, with the wording "are not to be undertaken." And it is confirmed in Sahih Muslim, through the report of Abu Bakr bin Abu Shayba from Abdul-Ala, with the wording "are undertaken."So both wordings are confirmed as coming from Sufyan from Zuhri, and from Abdul-Ala from Mamar from Zuhri.