It is narrated from Hazrat Samurah (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: The seller and the buyer have the option (to cancel the sale) as long as they do not separate from each other.
Hadith Referenceمسند احمد / أول مسند البصريين / 20253
Hadith Gradingحکم دارالسلام:صحيح لغيره، وهذا إسناد ضعيف، الحسن مدلس، وقد عنعن