Anas bin Malik reported,

There was a man who had been a Christian, then embraced Islam and learned Surat al-Baqarah and Aal Imran. He used to write for the Prophet ﷺ. Later he reverted to Christianity and began saying, "Muhammad knows nothing except what I have written for him."Then Allah caused him to die, and his people buried him. By 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 friend and threw him out because he had escaped them."So they dug a grave for him and made it as deep in the ground as they could. By morning, the earth had cast him out again. Then they realized that this was not the work of any human, so they left him discarded.

Azami 7047

Sahih

عن أنس قال

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

الأعظمي 7047صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Apostate, those who wage war, and whoever insults the Messenger
Section
Whoever fabricated lies against the Prophet ﷺ
Numbering
Jami al-Kamil 7047 (2nd edition)
Azami 7047