Surah Al-Maaida

5:38

وَٱلسَّارِقُ وَٱلسَّارِقَةُ فَٱقْطَعُوٓا۟ أَيْدِيَهُمَا جَزَآءًۢ بِمَا كَسَبَا نَكَٰلًۭا مِّنَ ٱللَّهِ ۗ وَٱللَّهُ عَزِيزٌ حَكِيمٌۭ

[As for] the thief, the male and the female, amputate their hands in recompense for what they committed as a deterrent [punishment] from Allah. And Allah is Exalted in Might and Wise.

Tafsir 5:38

As for those who are caught stealing, those in authority are to cut off the right hand of the male and female thief as a punishment from Allah for the crime of wrongfully taking people’s wealth, and to serve as a lesson and deterrent for them, as well as others. Allah is Mighty and nothing can overpower His decree. He is Wise in His decree and legislation.