Someone who heard the Prophet ﷺ reported that he said, "There is no punishment exceeding ten lashes except in the prescribed punishments set by Allah."
حدثنا عمرو بن علي حدثنا فضيل بن سليمان حدثنا مسلم بن أبي مريم حدثني
عمن سمع النبي ﷺ قال لا عقوبة فوق عشر ضربات إلا في حد من حدود الله