Abu Hurairah (May Allah be pleased with him) said:
The Messenger of Allah (ﷺ) said, "None of you should point at his brother with a weapon because he does not know that Satan may make it lose from his hand and, as a result, he may fall into a pit of Hell-fire (by accidentally killing him)."[Al-Bukhari and Muslim].The narration in Muslim is: Abul-Qasim (i.e., the Messenger of Allah) (ﷺ) said, "He who points at his (Muslim) brother with a weapon is cursed by the angels even if the other person should be his real brother."
App reference: Book 18, Hadith 273
Arabic/English book reference: Book 18, Hadith 1783