Jabir bin Abdullah reported,

Tufayl bin Amr al-Dawsi came to the Prophet ﷺ and said, "Messenger of Allah, would you like a strong, well-fortified stronghold?" He was referring to a fortress that belonged to the tribe of Daws in the days of pre-Islamic ignorance. The Prophet ﷺ declined the offer, because of what Allah had reserved for the Ansar.When the Prophet ﷺ migrated to Medina, Tufayl bin Amr migrated to join him, and a man from his people migrated with him. They found the climate of Medina disagreeable, and the man fell ill. He became distressed, took some broad arrowheads, and cut his finger joints with them. His hands bled until he died.Tufayl bin Amr later saw him in a dream. He appeared in fine condition, but his hands were covered.Tufayl asked him, "What did your Lord do with you?"He replied, "He forgave me because of my migration to His Prophet ﷺ."Tufayl said, "Why do I see you covering your hands?"He answered, "I was told, 'We will not repair in you what you yourself ruined.'"Tufayl related this to the Messenger of Allah ﷺ, and the Messenger of Allah ﷺ said, "O Allah, forgive even his hands."

Muslim 311

Sahih

حدثنا أبو بكر بن أبي شيبة وإسحق بن إبراهيم جميعا عن سليمان قال أبو بكر حدثنا سليمان بن حرب حدثنا حماد بن زيد عن حجاج الصواف عن أبي الزبير

عن جابر

أن الطفيل بن عمرو الدوسي أتى النبي ﷺ فقال يا رسول الله هل لك في حصن حصين ومنعة قال حصن كان لدوس في الجاهلية فأبى ذلك النبي ﷺ للذي ذخر الله للأنصار فلما هاجر النبي ﷺ إلى المدينة هاجر إليه الطفيل بن عمرو وهاجر معه رجل من قومه فاجتووا المدينة فمرض فجزع فأخذ مشاقص له فقطع بها براجمه فشخبت يداه حتى مات فرآه الطفيل بن عمرو في منامه فرآه وهيئته حسنة ورآه مغطيا يديه فقال له ما صنع بك ربك فقال غفر لي بهجرتي إلى نبيه ﷺ فقال ما لي أراك مغطيا يديك قال قيل لي لن نصلح منك ما أفسدت فقصها الطفيل على رسول الله ﷺ فقال رسول الله ﷺ اللهم وليديه فاغفر

مسلم 311صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Faith
Chapter
Evidence that one who kills himself does not become a disbeliever
Numbering
Darussalam 311
Muslim 311