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.
ibnmajah:1314ʿAbd al-Quddūs b. Muḥammad > Nāʾil b. Najīḥ > Ismāʿīl b. Ziyād > Ibn Jurayj > ʿAṭāʾ > Ibn ʿAbbās

It was narrated from Ibn ‘Abbas that the Prophet ﷺ forbade wearing weapons in the Muslim lands on the two ‘Eid, except if the enemy was present.  

ابن ماجة:١٣١٤حَدَّثَنَا عَبْدُ الْقُدُّوسِ بْنُ مُحَمَّدٍ حَدَّثَنَا نَائِلُ بْنُ نَجِيحٍ حَدَّثَنَا إِسْمَاعِيلُ بْنُ زِيَادٍ عَنِ ابْنِ جُرَيْجٍ عَنْ عَطَاءٍ عَنِ ابْنِ عَبَّاسٍ

أَنَّ النَّبِيَّ ﷺ نَهَى أَنْ يُلْبَسَ السِّلاَحُ فِي بِلاَدِ الإِسْلاَمِ فِي الْعِيدَيْنِ إِلاَّ أَنْ يَكُونُوا بِحَضْرَةِ الْعَدُوِّ  


See similar narrations below:

Collected by Ṭabarānī
tabarani:11440Saʿīd b. ʿAbd al-Raḥman al-Tustarī > ʿAbd al-Quddūs b. Muḥammad b. al-Ḥabḥāb > Nāʾil b. Najīḥ > Ismāʿīl b. Ziyād > Ibn Jurayj > ʿAṭāʾ > Ibn ʿAbbās

[Machine] "That the Messenger of Allah ﷺ forbade wearing armor in the lands of Islam or on the two Eid days except in the presence of an enemy."  

الطبراني:١١٤٤٠حَدَّثَنَا سَعِيدُ بْنُ عَبْدِ الرَّحْمَنِ التُّسْتَرِيُّ ثنا عَبْدُ الْقُدُّوسِ بْنُ مُحَمَّدِ بْنِ الْحَبْحَابِ ثنا نَائِلُ بْنُ نَجِيحٍ ثنا إِسْمَاعِيلُ بْنُ زِيَادٍ عَنِ ابْنِ جُرَيْجٍ عَنْ عَطَاءٍ عَنِ ابْنِ عَبَّاسٍ ؓ

أَنَّ رَسُولَ اللهِ ﷺ «نَهَى أَنْ يُلْبَسَ السِّلَاحُ فِي بِلَادِ الْإِسْلَامِ أَوْ فِي الْعِيدَيْنِ إِلَّا أَنْ يَكُونَ بِحَضْرَةِ عَدُوٍّ»