Khabab bin Arat reported,

We complained to the Messenger of Allah ﷺ while he was reclining on a cloak of his in the shade of the Kaabah. We said, "Will you not seek victory for us? Will you not pray for us?"He replied, "Among those before you, a man would be seized and a hole would be dug for him in the ground and he would be placed in it. Then a saw would be brought and placed upon his head and he would be cut into two halves. He would be combed with iron combs, tearing away what was beneath his flesh and bone, yet none of that would turn him away from his religion. By Allah, this matter will be completed until a rider travels from Sanaa to Hadramawt fearing none but Allah, and the wolf for his sheep. But you are being hasty."

Bukhari 6943

Sahih

حدثنا مسدد حدثنا يحيى عن إسماعيل حدثنا قيس

عن خباب بن الأرت قال

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

البخاري 6943صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Coercion
Chapter
One who chose beating, killing, and humiliation over disbelief
Numbering
Darussalam 6943
Bukhari 6943