صحيح البخاري Sahih Bukhari كتاب الهبة The Book of Gifts and The Superiority of Giving Gifts and The Exhortation for Giving Gifts
بَابُ إِذَا وَهَبَ بَعِيرًا لِرَجُلٍ وَهْوَ رَاكِبُهُ، فَهُوَ جَائِزٌ:

(26) Chapter. If someone gives a camel as a gift to a man riding it, then the deed is valid.

1 hadith
Hadith 2611
وَقَالَ الْحُمَيْدِيُّ : حَدَّثَنَا سُفْيَانُ ، حَدَّثَنَا عَمْرٌو ، عَنِ ابْنِ عُمَرَ رَضِيَ اللَّهُ عَنْهُمَا ، قَالَ : كُنَّا مَعَ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فِي سَفَرٍ ، وَكُنْتُ عَلَى بَكْرٍ صَعْبٍ ، فَقَالَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ لِعُمَرَ : بِعْنِيهِ ، فَابْتَاعَهُ ، فَقَالَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ : هُوَ لَكَ يَا عَبْدَ اللَّهِ " .
Narrated Ibn 'Umar (ra): We were in the company of the Prophet (saws) on a journey, and I was riding a troublesome camel. The Prophet (saws) asked 'Umar to sell that camel to him. So, 'Umar sold it to him. The Prophet (saws) then said, "O 'Abdullah! The camel is for you."
Hadith Reference Sahih Bukhari / The Book of Gifts and The Superiority of Giving Gifts and The Exhortation for Giving Gifts / Hadith: 2611
Hadith Grading محدثین: أحاديث صحيح البخاريّ كلّها صحيحة