Abd al-Malik bin Abi Sulayman (may Allah have mercy on him) said: It was said to Ata' (may Allah have mercy on him): Do you judge on the basis of original ownership in (disputes over) houses? He said: Yes, when proof is established that he did not sell or gift the house.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الدعوى والبينات / 21245