Occasionally a person faces various physical and spiritual sorrows and troubles in the world. Amongst these are feelings so intense that they cannot be compared with any other physical pain. This feeling that causes such great distress in the human soul is a feeling called 'regret'.
There are two completely different forms of regret, however. The regret felt by people of faith and the regret that non-believers experience.
Believers are the people who have an absolute faith in the fact that events take place by God's Will, and whatever befalls them does so by God's Will. This explains their all-important distinctive attribute of putting their unyielding trust in God, at good times, in trouble or when they make a mistake. Upon making a mistake, a believer immediately repents with sincerity and hopes for God's forgiveness. As a result, he does not suffer from a distressful and long-lived feeling of regret. The regret felt by believers urges them to ask for repentance, to purify themselves and prevents them from repeating this error. It helps them rectify their errors and prevents them from plunging into a distressful and pessimistic mood. Moreover, this regret does not reduce their enthusiasm, devotion, or religious zeal nor does it drag them downward into a spiral of apprehension and depression.
Regret felt by disbelievers, on the other hand, is very distressing and constant, as they do not put their trust in God when they encounter a difficulty or commit a transgression. Throughout their lives, they often use phrases like "I wish I had not done this..." "I wish I had never said this...", and so on.
More importantly, they are subject to a much greater regret in the Hereafter. Those who lived a life apart from the religion (deen) in this world will regret every moment of their lives. They were warned before and invited to the straight path. They had enough time to contemplate and embrace the right way. Yet they did not listen when they were warned, ignoring the Hereafter as if they would never die. Then in the Hereafter, they will have no chance to get back to this world and correct their errors. In the Qur'an, their regretful expressions are related as follows:
We have warned you of an imminent punishment on the Day when a man will see what he has done, and the disbeliever will say, 'Oh, if only I were dust!' (Surat an-Naba': 40)
If only you could see when they are standing before the Fire and saying, 'Oh! If only we could be sent back again, we would not deny the Signs of our Lord and we would be among the believers.' (Surat al-An'am: 27)
They will say:
They will say, 'If only we had really listened and used our intellect, we would not have been Companions of the Blaze.' (Surat al-Mulk: 10)
Keep in mind that that day no one's regret will save him from God's wrath. The only way to avoid this regret is to submit to God while there is still time and to comply with the commands of God.
Respond to your Lord before a Day comes from God which cannot be turned back. On that Day you will have no hiding-place and no means of denial. (Surat ash-Shura: 47)