It is narrated from Sayyiduna Jabir bin Abdullah (may Allah be pleased with them both), he says: I was traveling while riding on a camel, suddenly it became exhausted, and I was about to abandon it when the Messenger of Allah (peace and blessings be upon him) met me. He (peace and blessings be upon him) struck it with his foot and prayed for it, then it walked in such a manner as it had never walked before. Then the Prophet (peace and blessings be upon him) said: Sell me this camel for one uqiyah. But I was reluctant to make the deal, yet the Prophet (peace and blessings be upon him) said: Sell it to me. So I sold it, but on the condition that I could ride it until I reached my family. When we reached Madinah, I brought the camel to the Prophet (peace and blessings be upon him). He (peace and blessings be upon him) said: Do you think I wanted to take your camel by offering a low price? Here, take your camel and take its price; both are yours.
Hadith Referenceالفتح الربانی / أبواب الشروط فى البيع / 5914
Benefits: … The Prophet sallallahu alayhi wa sallam purchased a camel from Sayyiduna Jabir radi Allahu anhu, and he (Jabir) sold it to the Prophet sallallahu alayhi wa sallam. However, he stipulated the condition that he would continue to travel upon it until they reached Madinah Munawwarah.