[Machine] I saw the Prophet ﷺ in the year of Hunayn asking about Khalid ibn al-Walid. So I came in front of him and asked about Khalid ibn al-Walid until he was brought in shackles. The Prophet ﷺ ordered them to strike him, and they struck him with their hands, sandals, and the edges of their garments. They also threw dirt on him. Then the Prophet ﷺ said, "Stop hitting him," and they stopped. Then the Prophet ﷺ sent him. Abu Bakr asked the people who were present at the time of his being struck, and they testified against him forty times. Abu Bakr hit him forty times with a whip. Then Umar (may Allah be pleased with him) continued to hit him in front of the people until people started following him in hitting Khalid. Umar consulted and struck him eighty times. This continued
رَأَيْتُ النَّبِيَّ ﷺ عَامَ حُنَيْنٍ يَسْأَلُ عَنْ رَجُلِ خَالِدِ بْنِ الْوَلِيدِ فَجِئْتُ بَيْنَ يَدَيْهِ أَسْأَلُ عَنْ رَجُلِ خَالِدٍ حَتَّى أَتَاهُ جَذَعًا وَأُتِيَ النَّبِيُّ ﷺ بِشَارِبٍ قَالَ اضْرِبُوهُ فَضَرَبُوهُ بِالْأَيْدِي وَالنِّعَالِ وَأَطْرَافِ الثِّيَابِ وَحَثَوْا عَلَيْهِ التُّرَابَ ثُمَّ قَالَ النَّبِيُّ ﷺ بَكِّتُوهُ فَبَكَتُوهُ ثُمَّ أَرْسَلَهُ قَالَ فَلَمَّا كَانَ أَبُو بَكْرٍ ؓ سَأَلَ مَنْ حَضَرَ ذَلِكَ الْمَضْرُوبَ فَقَوَّمَهُ أَرْبَعِينَ فَضَرَبَ أَبُو بَكْرٍ ؓ فِي الْخَمْرِ أَرْبَعِينَ حَيَاتَهُ ثُمَّ عُمَرُ ؓ حَتَّى تَتَابَعَ النَّاسُ فِي الْخَمْرِ فَاسْتَشَارَ فَضَرَبَهُ ثَمَانِينَ وَكَذَلِكَ