Abdullah bin Umar reported,

The Messenger of Allah ﷺ said, "When two men conduct a sale, each of them has the option to revoke it as long as they have not parted and remain together, or until one gives the other the choice. If one gives the other the choice and they conclude the sale on that basis, the sale is binding. And if they part after concluding the sale, and neither of them has cancelled it, the sale is binding."

Ibn Majah 2181

Sahih

حدثنا محمد بن رمح المصري أنبأنا الليث بن سعد عن نافع

عن عبد الله بن عمر

عن رسول الله ﷺ قال إذا تبايع الرجلان فكل واحد منهما بالخيار ما لم يفترقا وكانا جميعا أو يخير أحدهما الآخر فإن خير أحدهما الآخر فتبايعا على ذلك فقد وجب البيع وإن تفرقا بعد أن تبايعا ولم يترك واحد منهما البيع فقد وجب البيع

ابن ماجه 2181صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Trade
Chapter
Two parties to a sale have the option as long as they have not parted
Numbering
Darussalam 2181
Ibn Majah 2181