[Machine] The Prophet ﷺ never used to engage in warfare during the sacred month unless he was attacked or someone attacked him. When he was confronted with such a situation, he would remain steadfast until the aggressors withdrew.
لَمْ يَكُنْ رَسُولُ اللهِ ﷺ يَغْزُو فِي الشَّهْرِ الْحَرَامِ إِلَّا أَنْ يُغْزَى أَوْ يُغْزَوْا فَإِذَا حَضَرَهُ أَقَامَ حَتَّى يَنْسَلِخَ