It is narrated from Hazrat Zaid bin Thabit (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) declared "Ruqba" (a house given to someone on the condition that whichever of the two dies first, the house goes to the other) to be the right of the heir.