The Prophet (may Allah's peace and blessings be upon him) forbade flogging anyone more than ten lashes except in case of committing sins. This does not refer to punishments where a specific number of lashes, strikes, or a penalty have been prescribed by the Legislator. The meaning here is that disciplinary beating, such as flogging a wife or child, should not exceed ten lashes.