I saw Ma’iz b. Malik when he was brought to the Prophet ﷺ. He was a small and muscular man. He did not wear the loose outer garment. He made confession about him four times that he committed fornication. The Messenger of Allah ﷺ said: Perhaps you kissed her. He said that this most discarded man has committed fornication. He said: So he had him stoned to death and gave an address, saying: Beware, whenever we go out on an expedition in the path of Allah, one of them (I.e. the people) lags behind with a bleating sound like that of a he-goat, and gives modicum of his milk(i.e. sperm) to one of the women. If Allah gives control over any of them, I shall deter him from them (i.e. women) by punishing him severely. (Using translation from Abū Dāʾūd 4422)
رَأَيْتُ مَاعِزًا حِينَ جِيءَ بِهِ النَّبِيُّ ﷺ رَجُلٌ قَصِيرٌ أَعْضَلُ فَشَهِدَ عَلَى نَفْسِهِ أَرْبَعَ شَهَادَاتٍ أَنَّهُ قَدْ زَنَى فَقَالَ رَسُولُ اللهِ ﷺ «فَلَعَلَّكَ» قَالَ لَا وَاللهِ إِنَّهُ قَدْ زَنَى الْآخَرُ فَرَجَمَهُ ثُمَّ خَطَبَ فَقَالَ «أَلَا كُلَّمَا نَفَرْنَا فِي سَبِيلِ اللهِ خَلَّفَ أَحَدُهُمْ لَهُ نَبِيبٌ كَنَبِيبِ التَّيْسِ يَمْنَحُ إِحْدَاهُنَّ الْكُثْبَةَ أَمَا إِنَّ اللهَ يُمَكِنِّي مِنْ أَحَدٍ مِنْهُمْ إِلَّا نَكَّلْتُهُ عَنْهُنَّ»