The Messenger of Allah said: "There is no vow to commit an act of disobedience or at the time of anger, and its expiation is the expiation for an oath." (Using translation from Nasāʾī 3847)
قَالَ رَسُولُ اللهِ ﷺ «لَا نَذْرَ فِي الْغَضَبِ وَكَفَّارَتُهُ كَفَّارَةُ يَمِينٍ»