Sahih al-Bukhari, Book 51, Hadith 44 (In-Book)

Narrated Ibn 'Umar (ra): We were in the company of the Prophet on a journey, and I was riding a troublesome camel. The Prophet asked 'Umar to sell that camel to him. So, 'Umar sold it to him. The Prophet then said, "O 'Abdullah! The camel is for you."

وَقَالَ الْحُمَيْدِيُّ حَدَّثَنَا سُفْيَانُ، حَدَّثَنَا عَمْرٌو، عَنِ ابْنِ عُمَرَ ـ رضى الله عنهما ـ قَالَ كُنَّا مَعَ النَّبِيِّ صلى الله عليه وسلم فِي سَفَرٍ، وَكُنْتُ عَلَى بَكْرٍ صَعْبٍ فَقَالَ النَّبِيُّ صلى الله عليه وسلم لِعُمَرَ ‏"‏ بِعْنِيهِ ‏"‏‏.‏ فَابْتَاعَهُ فَقَالَ النَّبِيُّ صلى الله عليه وسلم ‏"‏ هُوَ لَكَ يَا عَبْدَ اللَّهِ ‏"‏‏.‏

sunnah.com