[Machine] The Messenger of Allah ﷺ and his companions used to forgive the polytheists and the people of the Book, as commanded by Allah. They used to endure harm, as Allah says, "And you will surely hear from those who were given the Scripture before you and from those who associate others with Allah much abuse." The Prophet ﷺ used to interpret forgiveness in accordance with the command of Allah, until Allah gave them permission. So when the Prophet ﷺ fought the Battle of Badr, Allah killed those polytheists from the nobles of Quraish who were killed, and Ibn Ubayy said, "This is a matter that has been addressed to him, so give the pledge of allegiance to the Messenger of Allah ﷺ on Islam and embrace Islam."
كَانَ رَسُولُ اللهِ ﷺ وَأَصْحَابُهُ يَأْخُذُونَ الْعَفْوَ مِنَ الْمُشْرِكِينَ وَأَهْلِ الْكِتَابِ كَمَا أَمَرَهُمُ اللهُ ﷻ وَيَصْبِرُوا عَلَى الْأَذَى قَالَ اللهُ ﷻ {وَلَتَسْمَعُنَّ مِنَ الَّذِينَ أُوتُوا الْكِتَابَ مِنْ قَبْلِكُمْ وَمِنَ الَّذِينَ أَشْرَكُوا أَذًى كَثِيرًا} الْآيَةَ وَكَانَ النَّبِيُّ ﷺ يَتَأَوَّلُ فِي الْعَفْوِ مَا أَمَرَهُ اللهُ بِهِ حَتَّى أَذِنَ اللهُ فِيهِمْ فَلَمَّا غَزَا النَّبِيُّ ﷺ بَدْرًا فَقَتَلَ اللهُ مَنْ قَتَلَ مِنَ الْكُفَّارِ مِنْ صَنَادِيدِ قُرَيْشٍ قَالَ ابْنُ أُبَيٍّ وَمَنْ مَعَهُ مِنَ الْمُشْرِكِينَ هَذَا أَمْرٌ قَدْ تَوَجَّهَ لَهُ فَبَايِعُوا رَسُولَ اللهِ ﷺ عَلَى الْإِسْلَامِ فَأَسْلَمُوا