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.
bayhaqi:17748Abū ʿAbdullāh al-Ḥāfiẓ And ʾAbū Bakr Aḥmad b. al-Ḥasan > Abū al-ʿAbbās Muḥammad b. Yaʿqūb > Muʿāwiyah b. ʿAmr > Abū Isḥāq > Saʾalt Sufyān > Qawl Allāh Yasʾalūnak

[Machine] Regarding the sacred month, fighting in it is mentioned. Say, "Fighting in it is a great sin." [Al-Baqarah 217] He said, "This is something abrogated and has passed, and there is no harm in fighting in the sacred month and others."  

البيهقي:١٧٧٤٨وَأَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ وَأَبُو بَكْرٍ أَحْمَدُ بْنُ الْحَسَنِ قَالَا ثنا أَبُو الْعَبَّاسِ مُحَمَّدُ بْنُ يَعْقُوبَ ثنا مُعَاوِيَةُ بْنُ عَمْرٍو عَنْ أَبِي إِسْحَاقَ قَالَ سَأَلْتُ سُفْيَانَ عَنْ قَوْلِ اللهِ {يَسْأَلُونَكَ

عَنِ الشَّهْرِ الْحَرَامِ قِتَالٍ فِيهِ قُلْ قِتَالٌ فِيهِ كَبِيرٌ} [البقرة 217] قَالَ هَذَا شَيْءٌ مَنْسُوخٌ وَقَدْ مَضَى وَلَا بَأْسَ بِالْقِتَالِ فِي الشَّهْرِ الْحَرَامِ وَغَيْرِهِ