Al-Adab Al-Mufrad, Book 20, Hadith 11 (In-Book)

'Abdullah reported that the Prophet, may Allah bless him and grant him peace, stopped in a place and then someone took a bird's eggs and the bird began to beat its wings around the head of the Messenger of Allah, may Allah bless him and grant him peace. He asked, "Which of you has taken its eggs?" A man said, "Messenger of Allah, I have taken its eggs." The Messenger of Allah, may Allah bless him and grant him peace, said, "Return them out off mercy to the bird."

حَدَّثَنَا طَلْقُ بْنُ غَنَّامٍ، قَالَ‏:‏ حَدَّثَنَا الْمَسْعُودِيُّ، عَنِ الْحَسَنِ بْنِ سَعْدٍ، عَنْ عَبْدِ الرَّحْمَنِ بْنِ عَبْدِ اللهِ، عَنْ عَبْدِ اللهِ، أَنَّ النَّبِيَّ صلى الله عليه وسلم نَزَلَ مَنْزِلاً فَأَخَذَ رَجُلٌ بَيْضَ حُمَّرَةٍ، فَجَاءَتْ تَرِفُّ عَلَى رَأْسِ رَسُولِ اللهِ صلى الله عليه وسلم فَقَالَ‏:‏ أَيُّكُمْ فَجَعَ هَذِهِ بِبَيْضَتِهَا‏؟‏ فَقَالَ رَجُلٌ‏:‏ يَا رَسُولَ اللهِ، أَنَا أَخَذْتُ بَيْضَتَهَا، فَقَالَ النَّبِيُّ صلى الله عليه وسلم‏:‏ ارْدُدْ، رَحْمَةً لَهَا‏.‏

sunnah.com