How a completely legitimate question is immediately twisted again in GZSZ, it’s quite amusing to read with a cup of coffee and a pastry.
As others have already rightly said: The notary is also happy to explain your contract to you in detail, with all possible consequences of the clauses. That’s what the man is paid for. (Spoiler alert: You could have nightmares about the mortgage registration from that )
Otherwise, the two best alternatives have already been mentioned from my point of view: Either you buy it from him, or the gift contract comes without this right of reclamation. Otherwise, in my opinion, it is legally too one-sided. Then you would be heavily disadvantaged if your friend becomes the crack-addicted Scientology gambler.
Best regards