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.
quran:73:10

And be patient over what they say and avoid them with gracious avoidance.  

and bear patiently what they say, that is, the disbelievers of Mecca, in the way of their maltreatment ˹of you˺, and part with them in a gracious manner, without any anguish — this was ˹revealed˺ before the command to fight them.
القرآن:٧٣:١٠

وَاصْبِرْ عَلَىٰ مَا يَقُولُونَ وَاهْجُرْهُمْ هَجْرًا جَمِيلًا  

{واصبر على ما يقولون} أي كفار مكة من أذاهم {واهجرهم هجرا جميلا} لا جزع فيه وهذا قبل الأمر بقتالهم.