Abu Sa`id Al-Khudri (May Allah be pleased with him) reported: Prophet of Allah (PBUH) said: "There was a man from among a nation before you who killed ninety-nine people and then made an inquiry about the most learned person on the earth. He was directed to a monk.
He came to him and told him that he had killed ninety-nine people and asked him if there was any chance for his repentance to be accepted. He replied in the negative and the man killed him also completing one hundred. He then asked about the most learned man in the earth. He was directed to a scholar. He told him that he had killed one hundred people and asked him if there was any chance for his repentance to be accepted. He replied in the affirmative and asked, `Who stands between you and repentance? Go to such and such land; there (you will find) people devoted to prayer and worship of Allah, join them in worship, and do not come back to your land because it is an evil place.' So he went away and hardly had he covered half the distance when death overtook him; and there was a dispute between the angels of mercy and the angels of torment. The angels of mercy pleaded, 'This man has come with a repenting heart to Allah,' and the angels of punishment argued, 'He never did a virtuous deed in his life.' Then there appeared another angel in the form of a human being and the contending angels agreed to make him arbiter between them. He said, `Measure the distance between the two lands. He will be considered belonging to the land to which he is nearer.' They measured and found him closer to the land (land of piety) where he intended to go, and so the angels of mercy collected his soul".
[Al-Bukhari and Muslim].
In another version: "He was found to be nearer to the locality of the pious by a cubit and was thus included among them". Another version says: "Allah commanded (the land which he wanted to leave) to move away and commanded the other land (his destination) to draw nearer and then He said: "Now measure the distance between them.' It was found that he was nearer to his goal by a hand's span and was thus forgiven". It is also narrated that he drew closer by a slight movement on his chest.
`Abdullah bin `Umar bin Al-Khattab (May Allah be pleased with them) narrated that: He heard Messenger of Allah (PBUH) as saying: "Three men, amongst those who came before you, set out until night came and they reached a cave, so they entered it. A rock fell down from the mountain and blocked the entrance of the cave.
They said: `Nothing will save you from this unless you supplicate to Allah by virtue of a righteous deed you have done.' Thereupon, one of them said: `O Allah! I had parents who were old, and I used to offer them milk before any of my children or slaves. One day, I went far away in search of grazing and could not come back until they had slept. When I milked as usual and brought the drink I found them both asleep. I hated to disturb them and also disliked to give milk to my children before them. My children were crying out of hunger at my feet but I awaited with the bowl in my hand for them to wake up. When they awoke at dawn, they drank milk. O Allah! If I did so to seek Your Pleasure, then deliver us from the distress caused by the rock'. The rock moved slightly but they were unable to escape. The next said: `O Allah! I had a cousin whom I loved more than any one else (in another version he said: as a man can love a woman). I wanted to have sexual intercourse with her but she refused. Hard pressed in a year of famine, she approached me. I gave her one hundred and twenty dinars on condition that she would yield herself to me. She agreed and when we got together (for sexual intercourse), she said: Fear Allah and do not break the seal unlawfully. I moved away from her in spite of the fact that I loved her most passionately; and I let her keep the money I had given her. O Allah! If I did that to seek Your Pleasure, then, remove the distress in which we are.' The rock moved aside a bit further but they were still unable to get out. The third one said: `O Allah! I hired some labourers and paid them their wages except one of them departed without taking his due. I invested his money in business and the business prospered greatly. After a long time, he came to me and said: O slave of Allah! Pay me my dues. I said: All that you see is yours - camels, cattle, goats and slaves. He said: O slave of Allah! Do not mock at me. I assured him that I was not joking. So he took all the things and went away. He spared nothing. O Allah! If I did so seeking Your Pleasure, then relieve us of our distress.' The rock slipped aside and they got out walking freely".
[Al-Bukhari and Muslim].
Suhaib (May Allah be pleased with him) reported that the Messenger of Allah (PBUH) said,
"There lived a king before you and he had a court magician. As he (the magician) grew old, he said to the king: `I have grown old, so send me a young boy in order to teach him magic.' The king sent him a young boy to serve the purpose. And on his way (to the magician) the young boy met a monk to whom he listened to and liked it.
It became his habit that on his way to the magician, he would meet the monk and sit there and would come to the magician (late). The magician used to beat him because of this delay. He complained about this to the monk who said to him: 'When you feel afraid of the magician, say: Members of my family detained me. And when you fear your family, say: The magician detained me.' It so happened that there came a huge beast and it blocked the way of the people, and the young boy said: 'I will know today whether the magician or the monk is better.' He picked up a stone and said: `O Allah, if the way of the monk is dearer to You than the way of the magician, bring about death to the animal so that the people be able to move about freely.' He threw that stone at it and killed it and the people began to move about freely. He then came to the monk and told him the story. The monk said: `Son, today you are superior to me. You have come to a stage where I feel that you would be soon put to a trial, and in case you are put to a trial, do not reveal me.' That young boy began to heal those born blind and the lepers and he, in fact, began to cure people from all kinds of illnesses. When a courtier of the king who had gone blind heard about him, he came to him with numerous gifts and said, `If you cure me, all these things will be yours.' He said, `I myself do not cure anyone. It is Allah, the Exalted, Alone Who cures; and if you affirm faith in Allah, I shall also supplicate to Allah to cure you.' This courtier affirmed his faith in Allah and Allah cured him. He came to the king and sat by his side as he used to sit before. The king said to him, `Who restored your eyesight?' He said, `My Rubb.' Thereupon he said, 'Do you have another lord besides me?' He said, `My Rubb and your Rubb is Allah.' So the king kept torturing him untill he revealed the young boy. The young boy was thus summoned and the king said to him, 'O boy, it has been conveyed to me that you have become so much proficient in your magic that you cure the blind and the lepers and you do such and such.' Thereupon he said, `I do not cure anyone; it is Allah Alone Who cures,' and the king took hold of him and began to torture him until he revealed of the monk. The monk was summoned and it was said to him: `You should turn back from your religion.' But he refused. The king sent for a saw, placed it in the middle of his head and cut him into two parts that fell down. Then the courtier of the king was brought forward and it was said to him: `Turn back from your religion.' He, too, refused, and the saw was placed in the midst of his head and he was torn into two parts. Then the boy was sent for and it was said to him: `Turn back from your religion.' He refused. The king then handed him over to a group of his courtiers, and said to them: `Take him to such and such mountain; make him climb up that mountain and when you reach its peak ask him to renounce his Faith. If he refuses to do so, push him to his death.' So they took him and made him climb up the mountain and he said: `O Allah, save me from them in any way you like,' and the mountain began to shake and they all fell down (dead) and that young boy came walking to the king. The king said to him, `What happened to your companions?' He said, `Allah has saved me from them.' He again handed him to some of his courtiers and said: `Take him and carry him in a boat and when you reach the middle of the sea, ask him to renounce his religion. If he does not renounce his religion throw him (into the water).' So they took him and he said: `O Allah, save me from them.' The boat turned upside down and they all drowned except the young boy who came walking to the king. The king said to him, `What happened to your companions?' He said, `Allah has saved me from them,' and he said to the king: `You cannot kill me until you do what I command you to do.' The king asked, `What is that?' He said, `Gather all people in one place and tie me up to the trunk of a tree, then take an arrow from my quiver and say: With the Name of Allah, the Rubb of the boy; then shoot me. If you do that you will be able to kill me.' `The king called the people in an open field and tied the young boy to the trunk of a tree. He took out an arrow from his quiver, fixed in the bow and said, `With the Name of Allah, the Rubb of the young boy,' he then shot the arrow and it hit the boy's temple. The young boy placed his hand upon the temple where the arrow had hit him and died. The people then said: `We believe in the Rubb of this young boy.' The king was told: `Do you see what you were afraid of, by Allah it has taken place; all people have believed.' The king then commanded that trenches be dug and fire lit in them, and said: `He who would not turn back from his (the young boy's) religion, throw him in the fire' or `he would be ordered to jump into it.' They did so till a woman came with her child. She felt hesitant in jumping into the fire. The child said to her: `O mother! Endure (this ordeal) for you are on the Right Path".
‘How perfect You are O Allah, and I praise You. I bear witness that none has the right to be worshipped except You. I seek Your forgiveness and turn to You in repentance.’