Hadithcore
Mishkat al-Masabih, 2717

Jabir said he heard God's messenger say, “It is not allowable for any of you to carry weapons in Mecca.” Muslim transmitted it.

وَعَنْ جَابِرٍ قَالَ: سَمِعْتُ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَقُولُ: «لَا يَحِلُّ لِأَحَدِكُمْ أَنْ يَحْمِلَ بمكةَ السِّلَاح» . رَوَاهُ مُسلم

References1 variant
In-Book Reference
Book 10, Hadith 206