The Messenger of Allah ﷺ said, "Faith retreats to Madinah just as a snake retreats into its hole."
أن رسول الله ﷺ قال: إن الإيمان ليأرز إلى المدينة كما تأرز الحية في جحرها.
Bukhari narrated it in the Virtues of Madinah (1876), and Muslim in Faith (147), both from the hadith of Ubaydullah, from Khubayb bin Abdul-Rahman, from Hafs bin Asim, from Abu Hurairah, who mentioned it.