Surah Yusuf

12:75

قَالُوا۟ جَزَٰٓؤُهُۥ مَن وُجِدَ فِى رَحْلِهِۦ فَهُوَ جَزَٰٓؤُهُۥ ۚ كَذَٰلِكَ نَجْزِى ٱلظَّٰلِمِينَ

Mereka menjawab: "Balasannya: sesiapa yang didapati benda itu di kenderaannya, maka dia lah sendiri yang menjadi balasannya. Demikianlah kami membalas orang-orang yang zalim".

Tafsir 12:75

Joseph’s brothers said that the payment for any thief among them was that the person in whose bag the stolen item was found would become the slave of whoever he stole from. This punishment of being made into a slave is the way they punished thieves.