We came to the Messenger of Allah ﷺ while he was in the shade of the Kaabah, reclining on a cloak of his. We said, "Messenger of Allah, pray to Allah for us and ask Him to grant us victory."His face turned red, or his expression changed, and he said, "Among those who came before you, a man would have a pit dug for him, and a saw would be brought and placed on his head and he would be split in two, yet this would not turn him from his religion. He would be combed with iron combs that tore away the flesh and sinew from his bones, yet this would not turn him from his religion. By Allah, Allah
will surely complete this affair until a rider can travel from Sanaa to Hadramawt fearing none but Allah the Exalted, and the wolf for his sheep. But you are impatient."
حدثنا محمد بن عبيد حدثنا إسماعيل عن قيس
أتينا رسول الله ﷺ وهو في ظل الكعبة متوسدا بردة له فقلنا يا رسول الله ادع الله تبارك وتعالى لنا واستنصره قال فاحمر لونه أو تغير فقال لقد كان من كان قبلكم يحفر له حفرة ويجاء بالمنشار فيوضع على رأسه فيشق ما يصرفه عن دينه ويمشط بأمشاط الحديد ما دون عظم من لحم أو عصب ما يصرفه عن دينه وليتمن الله تبارك وتعالى هذا الأمر حتى يسير الراكب ما بين صنعاء إلى حضرموت لا يخشى إلا الله تعالى والذئب على غنمه ولكنكم تعجلون
Its chain of transmission is sahih, its narrators are trustworthy leading authorities. Muhammad bin Ubayd is al-Tanafisi (he is also called Ibn Ubaydullah, though rarely), Ismail is Ibn Abu Khalid, and Qays is Ibn Abu Hazim. The hadith was narrated by Bukhari 6/619, no. 3612, Fath al-Bari, in the Book of Virtues, Signs of Prophethood, by Abu Dawud 3/47, no. 2643, by Hakim 3/383, with Dhahabi concurring with him, and by Humaydi 1/85, no. 157.