Answered by Molana Ishaaq Hussain
If one does repentance from something he/she did in the past and never to go back to a certain sin again, does he/she still get punished in this world? And in the hereafter? jazakum allah khayran!
Almighty Allah mentions in the Holy Quran :
“And all of you beg Allah to forgive you, O believers, that you may be successful” (24. 31)
“Seek the forgiveness of your lord, and turn to him in repentance. (11.31)
“O you who believe! Turn to Allah with sincere repentance!” (66.8)
It is necessary to repent from every sin. If the offense involves the right of Allah then there are three conditions that must be met for ones repentance to be accepted.
to detest from committing it
to regret committing it
to decide not to recommit it
But if a sin involves a Human’s right it requires a fourth condition. If it is a property, he should return it to its rightful owner. If its backbiting, one should ask the pardon of the offended.
There are great merits mentioned in the Ahaadeeth regarding one who repents from sins.
Sayyidna Anas narrates that the prophet said: “ Allah becomes extremely pleased with that person who repents from sins , more happy than that person who is travelling through a desert with his transport, upon which is its food and drink, his transport then goes missing, the person hopelessly then rests under a tree and falls asleep losing all sort of hope of finding his only means of survival, when he awakes he sees that his transport is infront of his eyes. Out of joy and happiness he gets hold of his transport and proclaims; “O Allah you are my servant and i am your lord”. Due to extreme joy he made a mistake in his wordings”. (Sahih Muslim)
Sayyidah Aishah narrates that the Hole Prophet said: “ when a person (who feels ashamed and feels regret)admits to the sins he has committed then he repents, Allah accepts his Tawbah (repentance) (Sahih Bukhari, Sahih Muslim)
With regards to your Question, Insha Allah, if a person sincerely repents to Allah then it is hoped Allah will forgive him and that he will not be punished in this world and in the hereafter.
Only Allah Knows Best
Written by Molana Ishaaq Hussain
Checked and approved by Mufti Mohammed Tosir Miah
Darul Ifta Birmingham