Allah's Messenger (ﷺ) said: "Both parties in a business transaction have a right to annul the transaction, so long as they have not separated and remain together; or one of them gives the other the choice (to conclude or annul the transaction); so, if one of them gives the other the choice (to conclude or annul the transaction) and then they make the transaction accordingly, the transaction then becomes binding; or if they separate after having made the transaction and none of them has annulled it, the transaction then becomes binding."
He also reported it Mawquf (as a saying of a Companion, i.e.) Ibn 'Abbas with a strong chain of narrators, and al-Baihaqi held it to the most correct narration.