Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
nasai-kubra:7132Muḥammad b. Bashhār

[Machine] A goat came to the Prophet ﷺ and said to him, "I have committed adultery." The Prophet turned away from it, but it repeated the statement multiple times. He then asked, "Have you been married?" The goat replied, "Yes." So, his people asked about it, saying, "Was there any legal punishment over the goat, or was there any reproach?" They answered, "No." So, the Messenger of Allah ﷺ stoned it.  

الكبرى للنسائي:٧١٣٢أَخْبَرَنَا مُحَمَّدُ بْنُ بَشَّارٍ قَالَ حَدَّثَنَا عَبْدُ الْوَهَّابِ هُوَ الثَّقَفِيُّ قَالَ حَدَّثَنَا خَالِدٌ عَنْ عِكْرِمَةَ

أَنَّ مَاعِزًا أَتَى النَّبِيَّ ﷺ فَقَالَ لَهُ إِنِّي زَنَيْتُ فَأَعْرَضَ عَنْهُ فَقَالَهَا مِرَارًا فَقَالَ لَهُ «أَنَكَحْتَ؟» قَالَ نَعَمْ فَسَأَلَ عَنْهُ قَوْمَهُ «أَبِهِ بَأْسٌ؟ أَبِهِ مَسٌّ؟» قَالُوا لَا فَرَجَمَهُ رَسُولُ اللهِ ﷺ