Hakeem bin Hizam reported,

The Prophet ﷺ said, "The two parties to a sale each retain the right to cancel as long as they have not parted."Ahmad added, Bahz narrated to us, saying that Hammam said, "I mentioned that to Abu Tayah, and he said, 'I was with Abu Khalil when Abdullah bin Harith narrated this hadith to him.'"

Bukhari 2108

Sahih

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

عن حكيم بن حزام رضي الله عنه

عن النبي ﷺ قال البيعان بالخيار ما لم يفترقا وزاد أحمد حدثنا بهز قال قال همام فذكرت ذلك لأبي التياح فقال كنت مع أبي الخليل لما حدثه عبد الله بن الحارث بهذا الحديث

البخاري 2108صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Sales
Chapter
If no time limit is set for the option, is the sale valid
Numbering
Darussalam 2108
Bukhari 2108