Abdullah bin Umar reported,

The Messenger of Allah ﷺ said, "When two parties make a transaction, each of them has the option to cancel it as long as they have not yet parted, unless it was a sale with a stipulated option."

Azami 5440

Sahih

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

أن رسول الله ﷺ قال: المتبايعان كل واحد منهما بالخيار على صاحبه ما لم يتفرقا إلا بيع الخيار.

الأعظمي 5440صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Sales
Chapter
Rulings on sales and trade
Section
Khiyar al-majlis for the two parties to a sale
Numbering
Jami al-Kamil 5440 (2nd edition)
Azami 5440