Thabit bin Dahhak reported,

He pledged allegiance to the Messenger of Allah ﷺ beneath the tree, and reported that the Messenger of Allah ﷺ said, "Whoever falsely swears by a religion other than Islam is as he said. Whoever kills himself with something will be tormented with it on the Day of Resurrection. And no person is bound by a vow concerning what he does not own."

Abu Dawud 3257

Sahih

حدثنا أبو توبة الربيع بن نافع حدثنا معاوية بن سلام عن يحيى بن أبي كثير قال أخبرني أبو قلابة أن

ثابت بن الضحاك أخبره

أنه بايع رسول الله ﷺ تحت الشجرة أن رسول الله ﷺ قال من حلف بملة غير ملة الإسلام كاذبا فهو كما قال ومن قتل نفسه بشيء عذب به يوم القيامة وليس على رجل نذر فيما لا يملكه

أبو داود 3257صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Oaths and vows
Chapter
Swearing by disavowal and by a religion other than Islam
Numbering
Darussalam 3257
Abu Dawud 3257