Sunan Abi Dawud, Hadith 4364 ⓘ
Narrated Nu'aym: Ma'iz came to the Prophet and admitted (having committed adultery) four times in his presence so he ordered him to be stoned to death, but said to Huzzal: If you had covered him with your garment, it would have been better for you.
حَدَّثَنَا مُسَدَّدٌ، حَدَّثَنَا يَحْيَى، عَنْ سُفْيَانَ، عَنْ زَيْدِ بْنِ أَسْلَمَ، عَنْ يَزِيدَ بْنِ نُعَيْمٍ، عَنْ أَبِيهِ، أَنَّ مَاعِزًا، أَتَى النَّبِيَّ صلى الله عليه وسلم فَأَقَرَّ عِنْدَهُ أَرْبَعَ مَرَّاتٍ فَأَمَرَ بِرَجْمِهِ وَقَالَ لِهَزَّالٍ " لَوْ سَتَرْتَهُ بِثَوْبِكَ كَانَ خَيْرًا لَكَ " .
also referenced under: Hadith 4377 (DarusSalam) & Book 38, Hadith 4364 (USC-MSA)