Al-Kāfi - Volume 7 > The Matters Permissible in Endowment, Charity, Gift, Present, Providing Conditional Housing and Matters Permissible or otherwise for a Child and others
Hadith #25

25- عَلِيُّ بْنُ إِبْرَاهِيمَ عَنْ أَبِيهِ عَنِ ابْنِ أَبِي عُمَيْرٍ عَنْ حَمَّادٍ عَنِ الْحَلَبِيِّ عَنْ أَبِي عَبْدِ اللهِ (عَلَيْهِ السَّلام) فِي الرَّجُلِ يُسْكِنُ الرَّجُلَ دَارَهُ وَلِعَقِبِهِ مِنْ بَعْدِهِ قَالَ يَجُوزُ وَلَيْسَ لَهُمْ أَنْ يَبِيعُوا وَلا يُورِثُوا قُلْتُ فَرَجُلٌ أَسْكَنَ دَارَهُ رَجُلا حَيَاتَهُ قَالَ يَجُوزُ ذَلِكَ قُلْتُ فَرَجُلٌ أَسْكَنَ رَجُلا دَارَهُ وَلَمْ يُوَقِّتْ قَالَ جَائِزٌ وَيُخْرِجُهُ إِذَا شَاءَ.

25. Ali ibn Ibrahim has narrated from his father from ibn abu ‘Umayr from Flammad from al-Halabiy who has narrated the following: “I once asked abu ‘Abd Allah, ‘Alayhi al-Salam, about the case of a man who allows another man to use a house and those whom he will leave behind. He (the Imam) said, ‘It is permissible but they cannot sell or inherit it.’ I asked if a man could allow another man to use a house for his lifetime. He (the Imam) said, ‘It is permissible.’ I then asked what happens if a man allows another man to use a house without the mention of time. He (the Imam) said, ‘It is permissible but he can ask him to vacate if he wants.’”