Abu Saeed Khudri reported,

"I will only narrate to you what I heard from the Messenger of Allah ﷺ, what my ears heard and my heart retained.A servant killed ninety-nine souls, then the thought of repentance occurred to him. He asked about the most knowledgeable person on earth and was directed to a man. He came to him and said, 'I have killed ninety-nine souls. Is there any repentance for me?'The man replied, 'After killing ninety-nine souls?'So he drew his sword and killed him with it, completing one hundred. Then the thought of repentance occurred to him again, and he asked about the most knowledgeable person on earth. He was directed to another man, came to him, and said, 'I have killed one hundred souls. Is there any repentance for me?'The man said, 'Who could stand between you and repentance? Leave this wicked town you are in and go to the righteous town, the town of such and such, and worship your Lord there.'So he set out for the righteous town, but death overtook him on the way. The angels of mercy and the angels of punishment disputed over him.Iblis said, 'He belongs to me, for he never disobeyed me for a single hour.'The angels of mercy said, 'He left as a repentant man.'"Hammam said, Humayd Tawil narrated to me from Bakr bin Abdullah Muzani from Abu Rafi, "So Allah عز وجل sent an angel to them, and they brought their dispute before him." Then he returned to the narration of Qatada, who said, "He said, 'See which of the two towns he was closer to, and assign him to its people.'"Qatada said, Hasan narrated to us, "When he sensed death, he strained himself forward. So Allah عز وجل brought the righteous town nearer to him and moved the wicked town farther from him, and they assigned him to the people of the righteous town."

Azami 6833

Sahih

عن أبي سعيد الخدري قال

لا أحدثكم إلا ما سمعت من رسول الله ﷺ سمعته أذناي، ووعاه قلبي: إن عبدا قتل تسعة وتسعين نفسا، ثم عرضت له التوبة، فسأل عن أعلم أهل الأرض، فدل على رجل، فأتاه فقال: إني قتلت تسعة وتسعين نفسا، فهل لي من توبة؟ قال: بعد قتل تسعة وتسعين نفسا؟ قال: فانتضى سيفه فقتله به، فأكمل به مئة، ثم عرضت له التوبة، فسأل عن أعلم أهل الأرض، فدل على رجل، فأتاه فقال: إني قتلت مئة نفس، فهل لي من توبة؟ فقال: ومن يحول بينك وبين التوبة، اخرج من القرية الخبيثة التي أنت فيها إلى القرية الصالحة قرية كذا وكذا، فاعبد ربك فيها، قال: فخرج إلى القرية الصالحة، فعرض له أجله في الطريق قال: فاختصمت فيه ملائكة الرحمة وملائكة العذاب قال: فقال إبليس: أنا أولى به، إنه لم يعصني ساعة قط. قال: فقالت ملائكة الرحمة: إن خرج تائبا. قال همام: فحدثني حميد الطويل، عن بكر بن عبد الله المزني، عن أبي رافع قال: فبعث الله عز وجل له ملكا فاختصموا إليه ثم رجع إلى حديث قتادة، قال: فقال: انظروا أي القريتين كان أقرب إليه، فألحقوه بأهلها. قال قتادة: فحدثنا الحسن قال: لما عرف الموت احتفز بنفسه، فقرب الله عز وجل منه القرية الصالحة، وباعد منه القرية الخبيثة، فألحقوه بأهل القرية الصالحة.

الأعظمي 6833صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Retaliation and crimes
Chapter
Prohibition of protected blood
Section
Repentance of the killer
Numbering
Jami al-Kamil 6833 (2nd edition)
Azami 6833