Sahih al-Bukhari 6977
Ali bin Abdullah narrated to us that Sufyan (bin Uyainah) told us. He narrated from Ibrahim bin Maisarah. He said: I heard Amr bin Sharid. He used to say: Hazrat Miswar bin Makhramah (ra) came and placed his hand on my shoulder, and I went with him to Hazrat Sa'd (ra). Then Hazrat Abu Rafi' (ra) said to Hazrat Miswar (ra): “Will you not advise Sa'd bin Abi Waqqas (ra) to buy from me my house that is in his compound?” Hazrat Sa'd (ra) said: “I will not give him more than four hundred, and that too in instalments.” He said: “I was being offered five hundred in cash, but I did not give the house; and had I not heard the Prophet (saw) say that a neighbour has a greater right to his neighbour's property, I would never have sold it to you,” or he said: “I would never have given it.” (Ali bin Madini used to say:) I said to Sufyan that Ma'mar did not say it like this. He said: But he told me exactly so. And some people said: If someone wishes to sell the right of pre-emption, it is permissible for him to nullify the pre-emption by a trick: the seller gives the house to the buyer as a gift, marks out its boundaries and hands it over to him, and the buyer gives the seller one thousand dirhams in return for it; then the person entitled to pre-emption no longer has any right of pre-emption regarding this house.
AI-translated by Islam-Today