Fighting during the Sacred Months is prohibited, except in Self-Defense
Allah says,
الشَّهْرُ الْحَرَامُ بِالشَّهْرِ الْحَرَامِ وَالْحُرُمَاتُ قِصَاصٌ
...
The sacred month is for the sacred month, and for the prohibited things, there is the Law of equality (Qisas).
Ibn Abbas, Ad-Dahhak, As-Suddi, Qatadah, Miqsam, Ar-Rabi bin Anas and Ata said,
"Allah's Messenger went for Umrah on the sixth year of Hijrah. Then, the idolators prevented him from entering the Sacred House (the Ka`bah in Makkah) along with the Muslims who came with him. This incident occurred during the sacred month of Dhul-Qadah. The idolators agreed to allow them to enter the House the next year. Hence, the Prophet entered the House the following year, along with the Muslims who accompanied him, and Allah permitted him to avenge the idolators' treatment of him, when He said:
الشَّهْرُ الْحَرَامُ بِالشَّهْرِ الْحَرَامِ وَالْحُرُمَاتُ قِصَاصٌ
(The sacred month is for the sacred month, and for the prohibited things, there is the Law of equality (Qisas).
Imam Ahmad recorded that Jabir bin Abdullah said,
"Allah's Messenger would not engage in warfare during the Sacred Month unless he was first attacked, then he would march forth. He would otherwise remain idle until the end of the Sacred Months."
This Hadith has an authentic chain of narrators.
Hence, when the Prophet was told that Uthman was killed (in Makkah) when he was camped at the area of Al-Hudaybiyyah, after he had sent Uthman as his emissary to the polytheists, he accepted the pledge from his Companions under the tree to fight the polytheists. They were one thousand and four hundred then. When the Prophet was informed that Uthman was not killed, he abandoned the fight and reverted to peace.
When the Prophet finished fighting with (the tribes of) Hawazin during the battle of Hunayn and Hawazin took refuge in (the city of) At-Ta'if, he laid siege to that city. Then, the (sacred) month of Dhul-Qadah started, while At-Ta'if was still under siege. The siege went on for the rest of the forty days (rather, from the day the battle of Hunayn started until the Prophet went back to Al-Madinah from Al-Jiranah, were forty days), as reported in the Two Sahihs and narrated by Anas.
When the Companions suffered mounting casualties (during the siege), the Prophet ended the siege before conquering At-Ta'if. He then went back to Makkah, performed Umrah from Al-Jiranah, where he divided the war booty of Hunayn. This Umrah occurred during Dhul-Qadah of the eighth year of Al-Hijrah.
Allah's statement:
...
فَمَنِ اعْتَدَى عَلَيْكُمْ فَاعْتَدُواْ عَلَيْهِ بِمِثْلِ مَا اعْتَدَى عَلَيْكُمْ
...
...whoever transgresses against you, you transgress likewise against him.
ordains justice even with the polytheists.
Allah also said in another Ayah:
وَإِنْ عَاقَبْتُمْ فَعَاقِبُواْ بِمِثْلِ مَا عُوقِبْتُمْ بِهِ
And if you punish, then punish them with the like of that with which you were afflicted. (16:126)
Allah's statement:
...
وَاتَّقُواْ اللّهَ وَاعْلَمُواْ أَنَّ اللّهَ مَعَ الْمُتَّقِينَ
And fear Allah, and know that Allah is with Al-Muttaqin (the pious).
commands that Allah be obeyed and feared out of Taqwa.
The Ayah informs us that Allah is with those who have Taqwa by His aid and support in this life and the Hereafter.
بیعت رضوان
ذوالقعدہ سن ٦ہجری میں رسول کریم صلی اللہ علیہ وآلہ وسلم عمرے کے لئے صحابہ کرام سمیت مکہ کو تشریف لے چلے لیکن مشرکین نے آپ کو حدیبیہ والے میدان میں روک لیا بالآخر اس بات پر صلح ہوئی کہ آئندہ سال آپ عمرہ کریں اور اس سال واپس تشریف لے جائیں چونکہ ذی القعدہ کا مہینہ بھی حرمت والا مہینہ ہے اس لئے یہ آیت نازل ہوئی مسند احمد میں حدیث ہے کہ رسول اللہ صلی اللہ علیہ وآلہ وسلم حرمت والے مہینوں میں جنگ نہیں کرتے تھے ہاں اگر کوئی آپ پر چڑھائی کرے تو اور بات ہے بلکہ جنگ کرتے ہوئے اگر حرمت والے مہینے آجاتے تو آپ لڑائی موقوف کر دیتے ، حدیبیہ کے میدان میں بھی جب حضور صلی اللہ علیہ وآلہ وسلم کو یہ خبر پہنچی کہ حضرت عثمان کو مشرکین نے قتل کر دیا جو کہ حضور صلی اللہ علیہ وآلہ وسلم کا پیغام لے کر مکہ شریف میں گئے تھے تو آپ صلی اللہ علیہ وآلہ وسلم نے اپنے چودہ سو صحابہ سے ایک درخت تلے مشرکوں سے جہاد کرنے کی بیعت لی پھر جب معلوم ہوا کہ یہ خبر غلط ہے تو آپ نے اپنا ارادہ ملتوی کر دیا اور صلح کی طرف مائل ہو گئے ۔ پھر جو واقعہ ہوا وہ ہوا ۔ اسی طرح جب آپ صلی اللہ علیہ وآلہ وسلم ہوازن کی لڑائی سے حنین والے دن فارغ ہوئے اور مشرکین طائف میں جا کر قلعہ بند ہو گئے تو آپ نے اس کا محاصرہ کر لیا چالیس دن تک یہ محاصرہ رہا بالآخر کچھ صحابہ کی شہادت کے بعد محاصرہ اٹھا کر آپ مکہ کی طرف لوٹ گئے اور جعرانہ سے آپ نے عمرے کا احرام باندھا یہیں حنین کی غنیمتیں تقسیم کیں اور یہ عمرہ آپ کا ذوالقعدہ میں ہوا یہ سن ٨ ہجری کا واقعہ ہے ، اللہ تعالیٰ آپ پر درود وسلام بھیجے ۔ پھر فرماتا ہے جو تم پر زیادتی کرے تم بھی اس پر اتنی ہی زیادتی کر لو ، یعنی مشرکین سے بھی عدل کا خیال رکھو ، یہاں بھی زیادتی کے بدلے کو زیادتی سے تعبیر کرنا ویسا ہی ہے جیسے اور جگہ عذاب وسزا کے بدلے میں برائی کے لفظ سے بیان کیا گیا ، حضرت ابن عباس فرماتے ہیں یہ آیت مکہ شریف میں اتری جہاں مسلمانوں میں کوئی شوکت وشان نہ تھی نہ جہاد کا حکم تھا پھر یہ آیت مدینہ شریف میں جہاد کے حکم سے منسوخ ہو گئی ، لیکن امام ابن جریر رحمۃ اللہ علیہ نے اس بات کی تردید کی ہے اور فرماتے ہیں کہ یہ آیت مدنی ہے عمرہ قضا کے بعد نازل ہوئی ہے حضرت مجاہد کا قول بھی یہی ہے ۔ ارشاد ہے اللہ تعالیٰ کی اطاعت اور پرہیز گاری اختیار کرو اور اسے جان لو کہ ایسے ہی لوگوں کے ساتھ دین و دنیا میں اللہ تعالیٰ کی تائید ونصرت رہتی ہے ۔