Anas bin Malik reported,

There was a man who was a Christian, then he embraced Islam and learned to recite Surah al-Baqarah and Surah Al Imran. He used to write for the Prophet ﷺ. Then he reverted to Christianity and began saying, "Muhammad knows nothing except what I wrote 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 companion and threw him out." So they dug a grave for him, going deeper this time. 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 companion when he fled from them and threw him out." So they dug another grave for him, going as deep into the earth as they could. The next morning, the earth had cast him out once more. Then they realized that this was not the doing of any people, so they left him thrown out.

Bukhari 3617

Sahih

حدثنا أبو معمر حدثنا عبد الوارث حدثنا عبد العزيز

عن أنس رضي الله عنه قال

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

البخاري 3617صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Virtues
Chapter
Signs of prophethood in Islam
Numbering
Darussalam 3617
Bukhari 3617