Sahih Al-Bukhari - صحيح البخاري
34. Sales and Trade - كتاب البيوع
47) Chapter: To buy a thing and give it as a present
Narrated Ibn 'Umar (ra) :
We were accompanying the Prophet (ﷺ) (ﷺ) 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 (ﷺ) (ﷺ) asked 'Umar to sell that camel to him. 'Umar replied, "It is for you O Allah's Messenger !" Allah's Messenger (ﷺ) told 'Umar to sell that camel to him (not to give it as gift). So, 'Umar sold it toAllah's Messenger (ﷺ). Then the Prophet (ﷺ) (ﷺ) said to 'Abdullah bin 'Umar "This camel is for you O 'Abdullah (as a present) and you could do with it whatever you like."
47) بَابُ إِذَا اشْتَرَى شَيْئًا فَوَهَبَ مِنْ سَاعَتِهِ قَبْلَ أَنْ يَتَفَرَّقَا وَلَمْ يُنْكِرِ الْبَائِعُ عَلَى الْمُشْتَرِي، أَوِ اشْتَرَى عَبْدًا فَأَعْتَقَهُ
وَقَالَ طَاوُسٌ فِيمَنْ يَشْتَرِي السِّلْعَةَ عَلَى الرِّضَا ثُمَّ بَاعَهَا وَجَبَتْ لَهُ، وَالرِّبْحُ لَهُ.
وَقَالَ الْحُمَيْدِيُّ حَدَّثَنَا سُفْيَانُ، حَدَّثَنَا عَمْرٌو، عَنِ ابْنِ عُمَرَ ـ رضى الله عنهما ـ قَالَ كُنَّا مَعَ النَّبِيِّ صلى الله عليه وسلم فِي سَفَرٍ فَكُنْتُ عَلَى بَكْرٍ صَعْبٍ لِعُمَرَ، فَكَانَ يَغْلِبُنِي فَيَتَقَدَّمُ أَمَامَ الْقَوْمِ، فَيَزْجُرُهُ عُمَرُ وَيَرُدُّهُ، ثُمَّ يَتَقَدَّمُ فَيَزْجُرُهُ عُمَرُ وَيَرُدُّهُ فَقَالَ النَّبِيُّ صلى الله عليه وسلم لِعُمَرَ " بِعْنِيهِ ". قَالَ هُوَ لَكَ يَا رَسُولَ اللَّهِ. قَالَ " بِعْنِيهِ ". فَبَاعَهُ مِنْ رَسُولِ اللَّهِ صلى الله عليه وسلم فَقَالَ النَّبِيُّ صلى الله عليه وسلم " هُوَ لَكَ يَا عَبْدَ اللَّهِ بْنَ عُمَرَ تَصْنَعُ بِهِ مَا شِئْتَ ".