The Messenger of Allah ﷺ said, "The buyer and seller each have the option to revoke the transaction as long as they have not parted ways, unless their sale was made with a stipulated option."
حدثنا هاشم بن القاسم حدثنا أيوب يعني ابن عتبة حدثنا أبو كثير السحيمي
قال رسول الله ﷺ البيعان بالخيار من بيعهما ما لم يتفرقا أو يكون بيعهما في خيار
Its chain is daif. Ayub bin Utba Abu Yahya, the judge of Yamamah, his weakness was already explained at 2752, and we add here that Ibn Saad mentioned him in Tabaqat 5:404–405, and Ibn Abu Hatim at 1/1/253. Abu Kathir Suhaymi, his biography and the confirmation of his reliability were already given at 7685, 739. The hadith is in Jami al-Masanid wal-Sunan 7:513, from this same place. Haythami mentioned it in Majma al-Zawaid, 100, and said, Ahmad narrated it, and it contains Ayub bin Utba, most scholars declared him daif, though he has also been deemed reliable. He also said, for Abu Hurairah, in Abu Dawud and Tirmidhi, "Two parties should not separate except by mutual consent." The meaning of the hadith is firmly established and sahih, having already appeared many times through the narration of Abdullah bin Umar. See 6193 and the narrations we referred to there, and also through the narration of Abdullah bin Amr bin As at 6721.