Narrated by Sayyiduna Abu Hurairah (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: Both parties involved in a sale have the option to cancel the transaction before they separate, or if their sale is based on choice.
Hadith Referenceالفتح الربانی / أبواب الشروط فى البيع / 5924