Maaz came and confessed before the Prophet ﷺ four times, so he ordered that he be stoned.
حدثنا أسود بن عامر حدثنا شريك عن سماك
أن ماعزا جاء فأقر عند النبي ﷺ أربع مرات فأمر برجمه
Its chain of transmission is hasan. It was mentioned in detail shortly before, at 20699.