It is to be said that the punishment of some of sins and crimes is also freeing the slaves based on Quran: