Abdul-Rahman bin Samura reported,

The Prophet ﷺ said, "There is no vow in disobedience, nor in what the son of Adam does not own."Abu Abdul-Rahman said, Ali bin Zayd is weak, and this hadith contains an error. The correct attribution is Imran bin Husayn, and this hadith has indeed been narrated from Imran bin Husayn through another chain.

Nasai 3881

Sahih

أخبرني علي بن محمد بن علي قال حدثنا خلف بن تميم قال حدثنا زائدة قال حدثنا علي بن زيد بن جدعان عن الحسن

عن عبد الرحمن بن سمرة

عن النبي ﷺ قال لا نذر في معصية ولا فيما لا يملك ابن آدم قال أبو عبد الرحمن علي بن زيد ضعيف وهذا الحديث خطأ والصواب عمران بن حصين وقد روي هذا الحديث عن عمران بن حصين من وجه آخر

النسائي 3881صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Oaths and vows
Chapter
Expiation for vows
Numbering
Darussalam 3881
Nasai 3881