Riyad as-Salihin 20: On Repentance
Abu Sa‘id Khudri relates that the Holy Prophet said: An individual from among a people before you having killed as many as ninety-nine persons inquired who was the most learned person on earth. He was directed to a monk. He went to the monk and said: I have killed ninety-nine persons. Is there any chance of repentance left for me? The monk answered: No. Forthwith he dispatched the monk also and completed a full century of victims. Then he inquired again: Who is the most learned person on earth? and was directed to a savant, to whom he said: I have killed a hundred persons. Is there a chance of repentance left for me? The savant said: Yes. What can stand between you and repentance? Proceed to such and such a land. In it there are people who worship God. Join them in the worship of God and do not return to thine own land, for it is an evil place. So he set out. He had traversed only half the distance when he was overtaken by death, and a contention arose over him between the angels of mercy and the angels of torment. The angels of mercy pleaded that he had come a penitent turning towards God; and the angels of torment contended that he had never done a good deed. Then there arrived an angel in human form and the contending angels agreed that he should be the arbiter between them. He directed them: Measure the distance between the two lands. To whichever he is closer to that one he belongs. So they carried out the measurement and he was found to be closer to the land whither he was bound. The angels of mercy thus took charge of him (Bokhari and Muslim). One version has it that he was found to be closer to the land of the righteous by the width of a hand and was thus accounted one of them. Another version is that God directed the space on one side to expand and the space on the other to shrink, and then said: Now carry out the measurement. It was found that he was nearer to his goal by the width of a hand and was forgiven. It is also related that he came closer by crawling on his chest.