Under Section 17 of the Registration Act, 1908, the registration of a gift of immovable property is compulsory. A gift deed must be registered to be valid, ensuring proper documentation of property transfers and preventing fraud through unregistered transfers.