صحيح البخاري Sahih Bukhari كتاب البيوع The Book of Sales (Bargains)
بَابُ إِذَا اشْتَرَى شَيْئًا فَوَهَبَ مِنْ سَاعَتِهِ قَبْلَ أَنْ يَتَفَرَّقَا وَلَمْ يُنْكِرِ الْبَائِعُ عَلَى الْمُشْتَرِي، أَوِ اشْتَرَى عَبْدًا فَأَعْتَقَهُ:

(47) Chapter. What is said if somebody buys a thing and gives it as a present to someone else at that very moment before separating from the seller, and the seller has had no objection to buyer’s action; or if someone buys a slave and then manumits him?

2 hadith
Hadith 2115
وَقَالَ لَنَا الْحُمَيْدِيُّ ، حَدَّثَنَا سُفْيَانُ ، حَدَّثَنَا عَمْرٌو ، عَنِ ابْنِ عُمَرَ رَضِيَ اللَّهُ عَنْهُ ، قَالَ : " كُنَّا مَعَ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فِي سَفَرٍ ، فَكُنْتُ عَلَى بَكْرٍ صَعْبٍ لِعُمَرَ ، فَكَانَ يَغْلِبُنِي ، فَيَتَقَدَّمُ أَمَامَ الْقَوْمِ فَيَزْجُرُهُ عُمَرُ ، وَيَرُدُّهُ ، ثُمَّ يَتَقَدَّمُ فَيَزْجُرُهُ عُمَرُ ، وَيَرُدُّهُ ، فَقَالَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ : لِعُمَرَ : بِعْنِيهِ ، قَالَ : هُوَ لَكَ يَا رَسُولَ اللَّهِ ، قَالَ : بِعْنِيهِ ، فَبَاعَهُ مِنْ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ ، فَقَالَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ : هُوَ لَكَ يَاعَبْدَ اللَّهِ بْنَ عُمَرَ ، تَصْنَعُ بِهِ مَا شِئْتَ " .‏
Narrated Ibn 'Umar (ra) : We were accompanying the Prophet (saws) on a journey and I was riding an unmanageable camel belonging to 'Umar (ra), and I could not bring it under my control. So, it used to go ahead of the party and 'Umar would check it and force it to retreat, and again it went ahead and again 'Umar forced it to retreat. The Prophet (saws) asked 'Umar to sell that camel to him. 'Umar replied, "It is for you O Allah's Messenger !" Allah's Messenger (saws) told 'Umar to sell that camel to him (not to give it as gift). So, 'Umar sold it to Allah's Messenger (saws). Then the Prophet (saws) said to 'Abdullah bin 'Umar "This camel is for you O 'Abdullah (as a present) and you could do with it whatever you like."
Hadith Reference Sahih Bukhari / The Book of Sales (Bargains) / Hadith: 2115
Hadith Grading محدثین: أحاديث صحيح البخاريّ كلّها صحيحة
Hadith 2116
قَالَ أَبُو عَبْد اللَّهِ : وَقَالَ اللَّيْثُ : حَدَّثَنِي عَبْدُ الرَّحْمَنِ بْنُ خَالِدٍ ، عَنِ ابْنِ شِهَابٍ ، عَنْ سَالِمِ بْنِ عَبْدِ اللَّهِ ، عَنْ عَبْدِ اللَّهِ بْنِ عُمَرَ رَضِيَ اللَّهُ عَنْهُ ، قَالَ : بِعْتُ مِنْ أَمِيرِ الْمُؤْمِنِينَ عُثْمَانَ بْنِ عَفَّانَ ، مَالًا بِالْوَادِي بِمَالٍ لَهُ بِخَيْبَرَ ، فَلَمَّا تَبَايَعْنَا ، رَجَعْتُ عَلَى عَقِبِي حَتَّى خَرَجْتُ مِنْ بَيْتِهِ خَشْيَةَ أَنْ يُرَادَّنِي الْبَيْعَ ، وَكَانَتِ السُّنَّةُ : أَنَّ الْمُتَبَايِعَيْنِ بِالْخِيَارِ حَتَّى يَتَفَرَّقَا ، قَالَ عَبْدُ اللَّهِ : فَلَمَّا وَجَبَ بَيْعِي وَبَيْعُهُ رَأَيْتُ أَنِّي قَدْ غَبَنْتُهُ بِأَنِّي سُقْتُهُ إِلَى أَرْضِ ثَمُودَ بِثَلَاثِ لَيَالٍ ، وَسَاقَنِي إِلَى الْمَدِينَةِ بِثَلَاثِ لَيَالٍ .
Narrated 'Abdullah bin 'Umar (ra): I bartered my property in Khaibar to 'Uthman (chief of the faithful believers) for his property in Al-Wadi. When we finished the deal, I left immediately and got out of his house lest he should cancel the deal, for the tradition was that they buyer and the seller had the option of canceling the bargain unless they separated. When out deal was completed, I came to know that I have been unfair to 'Uthman, for by selling him my land I caused him to be in a land of Thamud, at a distance of three days journey from Al-Madina, while he made me neared to Al-Madina, at a distance of three days journey from my former land.
Hadith Reference Sahih Bukhari / The Book of Sales (Bargains) / Hadith: 2116
Hadith Grading محدثین: أحاديث صحيح البخاريّ كلّها صحيحة