Anas bin Malik reported,

A man was a Christian, then he embraced Islam and read Surah al-Baqarah and Aal Imran. He used to write for the Prophet ﷺ, but then he returned to Christianity. He used to say, "Muhammad knows nothing except what I have written for him."Then Allah caused him to die, and they buried him. The next morning, the earth had cast him out. They said, "This is the doing of Muhammad and his companions. When he fled from them, they dug up our man and threw him out."So they dug a grave for him and made it deeper. The next morning, the earth had cast him out again. They said, "This is the doing of Muhammad and his companions. They dug up our man when he fled from them and threw him out."So they dug for him and made it as deep in the earth as they could. The next morning, the earth had cast him out. Then they realized that this was not from people, so they left him thrown out.

Azami 15051

Sahih

عن أنس قال

كان رجل نصرانيا فأسلم، وقرأ البقرة وآل عمران، فكان يكتب للنبي ﷺ فعاد نصرانيا، فكان يقول: ما يدري محمد إلا ما كتبت له فأماته الله فدفنوه، فأصبح وقد لفظته الأرض، فقالوا: هذا فعل محمد وأصحابه لما هرب منهم نبشوا عن صاحبنا فألقوه، فحفروا له فأعمقوا، فأصبح وقد لفظته الأرض، فقالوا: هذا فعل محمد وأصحابه نبشوا عن صاحبنا لما هرب منهم فألقوه، فحفروا له وأعمقوا له في الأرض ما استطاعوا، فأصبح قد لفظته الأرض، فعلموا أنه ليس من الناس فألقوه.

الأعظمي 15051صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Superior moral conduct
Chapter
Hypocrisy and the hypocrites
Section
Hypocrite whom the earth expelled
Numbering
Jami al-Kamil 15051 (2nd edition)
Azami 15051