Saab bin Jathama reported,

He was one of the companions of the Prophet ﷺ, and he reported that he once presented a wild donkey as a gift to the Messenger of Allah ﷺ while the Messenger was at al-Abwa, or at Waddan, in the state of ihram. The Messenger returned it.Saab said, "When he saw the disappointment on my face at having my gift returned, he said, 'We are not returning it because we dislike it from you, but we are in the state of ihram.'"

Bukhari 2596

Sahih

حدثنا أبو اليمان أخبرنا شعيب عن الزهري قال أخبرني عبيد الله بن عبد الله بن عتبة أن عبد الله بن عباس رضي الله عنهما أخبره أنه سمع

الصعب بن جثامة الليثي

وكان من أصحاب النبي ﷺ يخبر أنه أهدى لرسول الله ﷺ حمار وحش وهو بالأبواء أو بودان وهو محرم فرده قال صعب فلما عرف في وجهي رده هديتي قال ليس بنا رد عليك ولكنا حرم

البخاري 2596صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Gifts, their virtue, and encouragement to give them
Chapter
One who did not accept a gift due to a reason
Numbering
Darussalam 2596
Bukhari 2596