The Messenger of Allah ﷺ said, "The buyer and seller have the option to revoke the sale as long as they have not parted." He said, I found in the book of Ubayy, "The option three times. If they are truthful and clear in their dealing, they may hope to gain a blessed profit, but if they lie and conceal, the blessing of their transaction will be wiped out."
حدثنا عفان حدثنا همام حدثنا قتادة عن أبي الخليل عن عبد الله بن الحارث
أن رسول الله ﷺ قال البيعان بالخيار ما لم يتفرقا قال وجدت في كتاب أبي الخيار ثلاث مرات فإن صدقا وبينا فعسى أن يربحا ربحا وإن كذبا وكتما محقت بركة بيعهما
Its isnad is sahih, previously mentioned at 15259.15261m - He said, I found in the book, "The two parties have the option of withdrawal three times. If they tell the truth and make things clear, they may profit from their transaction, but if they lie and conceal, the blessing of their transaction is wiped out." Sahih.(15261m) Its isnad is sahih, and it was previously mentioned at 15259 as well.