Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bukhari:1844ʿUbaydullāh > Isrāʾīl > Abū Isḥāq > al-Barāʾ

The Prophet ﷺ assumed Ihram for Umra in the month of Dhul-Qa'da but the (pagan) people of Mecca refused to admit him into Mecca till he agreed on the condition that he would not bring into Mecca any arms but sheathed.  

البخاري:١٨٤٤حَدَّثَنَا عُبَيْدُ اللَّهِ عَنْ إِسْرَائِيلَ عَنْ أَبِي إِسْحَاقَ

عَنِ الْبَرَاءِ ؓ اعْتَمَرَ النَّبِيُّ ﷺ فِي ذِي الْقَعْدَةِ فَأَبَى أَهْلُ مَكَّةَ أَنْ يَدَعُوهُ يَدْخُلُ مَكَّةَ حَتَّى قَاضَاهُمْ لاَ يُدْخِلُ مَكَّةَ سِلاَحًا إِلاَّ فِي الْقِرَابِ