It is narrated from Sayyiduna al-Sa'b bin Jaththamah bin Qays al-Laythi (may Allah be pleased with him) that a wild donkey was presented as a gift to the Messenger of Allah (peace and blessings be upon him) while he (peace and blessings be upon him) was at al-Abwa', and he (peace and blessings be upon him) returned it to its owner, then said: "We have not returned it to you out of disregard for you; rather, we are in the state of ihram."
Hadith Referenceالمعجم الكبير للطبراني / باب الصاد / 7401