Abdullah bin Umar reported,

The Prophet ﷺ said, "The two parties to a sale each retain the right to cancel the transaction as long as they have not parted, unless the sale was made with an option clause."Nafi said, "Whenever Ibn Umar bought something that pleased him, he would part from his companion to make the sale binding."

Bukhari 2107

Sahih

حدثنا صدقة أخبرنا عبد الوهاب قال سمعت يحيى بن سعيد قال سمعت نافعا

عن ابن عمر رضي الله عنهما

عن النبي ﷺ قال إن المتبايعين بالخيار في بيعهما ما لم يتفرقا أو يكون البيع خيارا قال نافع وكان ابن عمر إذا اشترى شيئا يعجبه فارق صاحبه

البخاري 2107صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Sales
Chapter
How long is the option allowed
Numbering
Darussalam 2107
Bukhari 2107