A similar tradition has also been transmitted by Uqbah bin Amir from the Prophet ﷺ through a different chain of narrators.
Explanation & Benefits
Shaykh Umar Farooq Saeedi
Benefits and Issues:
In such a situation, the scholars of hadith say that if he intended a good deed, then he has the choice between fulfilling the vow or giving expiation (kaffarah).
And if he intended something wrong,
then he should give expiation (kaffarah).
Source: Sunan Abu Dawood – Commentary by Shaykh Umar Farooq Saeedi, Page: 3324