Narrated Ad-Dhahak:
that the Prophet (ﷺ) said: It is not for a slave (of Allah) to vow about something he does not possess, and cursing a believer is like killing him, and whoever accuses a believer of disbelief, then it is like he has killed him, and whoever kills himself with something, then Allah will punish him with whatever he killed himself with on the Day of Judgement.