AHMAD 14742:
from Bannah al-Juhanī —
[Machine] He informed him that the Prophet ﷺ passed by a group in the mosque or in the gathering who were playing with a sword among themselves, using it in a way that was not commendable. He said: "May Allah curse those who do such a thing. Did I not forbid you from this? So when you handle the sword, let a man sheath it, then let him give it in that manner."
أحمد ١٤٧٤٢:
عن بنه الجهني —
أَخْبَرَهُ أَنَّ النَّبِيَّ ﷺ مَرَّ عَلَى قَوْمٍ فِي الْمَسْجِدِ أَوْ فِي الْمَجْلِسِ يَسُلُّونَ سَيْفًا بَيْنَهُمْ يَتَعَاطَوْنَهُ بَيْنَهُمْ غَيْرَ مَغْمُودٍ فَقَالَ لَعَنَ اللهُ مَنْ يَفْعَلُ ذَلِكَ أَوَ لَمْ أَزْجُرْكُمْ عَنْ هَذَا؟ فَإِذَا سَلَلْتُمُ السَّيْفَ فَلْيَغْمِدْهُ الرَّجُلُ ثُمَّ لِيُعْطِهِ كَذَلِكَ
hadithunlocked.com