It is narrated from Sayyiduna Sahl bin Sa'd (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Whoever has a root (property) in Madinah, let him hold firmly to it, and whoever has no root in Madinah, let him make a root for himself there, for a time will surely come upon the people when the one who has no root in Madinah will be like someone who has left it and is passing through to somewhere else."
Hadith Referenceالمعجم الكبير للطبراني / باب السين / 6003