The Prophet (ﷺ) said, "The prescribed Law of Allah is the equality in punishment (i.e. Al-Qisas)." (In cases of murders, etc.)
Sahih al-Bukhari Book 65, Hadith 26