Sahih al-Bukhari 2114
Ishaq (bin Mansur) related to me that Habban told us that Hammam related to us that Qatadah told us. He narrated from Abu al-Khalil, Abu al-Khalil from Abdullah bin Harith, and Abdullah from Hazrat Hakim bin Hizam (ra), that the Prophet (saw) said: “The seller and the buyer have the option to cancel as long as they have not separated.” Hammam said: I found it written thus in my book: “He has the option three times. So if both of them were truthful and spoke openly, they will both be blessed in their buying and selling, and if they lied and concealed a defect (in the deal), it may be that both of them make a little profit, but there will be no blessing in their sale.” (Habban) said: And Hammam related to us that Abu at-Tayyah told us that he heard Abdullah bin Harith relate this hadith from the Prophet (saw) through Hazrat Hakim bin Hizam (ra).
AI-translated by Islam-Today
Book 46: If the seller has the option of cancelling the bargain