Sahih Muslim Book 10, Hadith Number 3762.

Chapter : If the buyer becomes insolvent and the seller finds the commodity sold to the buyer intact. he can take it back.

Abdullah b. Umar (Allah be pleased with them) reported that Allah’s Messenger (may peace be upon him) returned to the Jews of Khaibar the date-palms of Khaibar and its land on the condition that they should work upon them with their own wealth (seeds, implements), and give half of the yield to Allah’s Messenger (may peace be upon him).