Alqamah bin Nadlah al-Kinani (may Allah be pleased with him) said: The houses of Makkah used to be called sawa'ib. In the time of the Messenger of Allah (peace and blessings be upon him), Abu Bakr and Umar (may Allah be pleased with them both), they were not sold. Whoever was in need would live in them, and whoever was well-off would give others lodging. This is munqati' (its chain is broken). This report shows the good custom they had of giving people lodging, and someone who knew the affairs of Makkah better than him has reported that inheritance and sale took place there. And Allah knows best.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب البيوع / 11186