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:17743Ibn ʿAbbās > Qawluh And ʾAʿriḍ

[Machine] "Those who associate partners with Allah" [Surah Al-Hijr 94] and "You are not over them, a compeller" [Surah Al-Ghashiyah 22]. He says, "You are not over them, a tyrant" [Surah Al-Qasas 47]. "So pardon them and overlook" [Surah Al-Ma'idah 13] and "And if you forgive and overlook" [Surah Al-Taghabun 14], "Then pardon and overlook until Allah brings about His command" [Surah Al-Baqarah 109]. "Say to those who have believed, forgive those who do not expect the days of Allah" [Surah Al-Jathiyah 14]. And similar to this in the Quran, Allah has commanded forgiveness for the polytheists and that it abrogates all of that is His saying, "So kill the polytheists wherever you find them" [Surah At-Tawba 5] and His saying, "Fight those who do not believe in Allah or in the Last Day" [Surah At-Tawba 29] until His saying, "But they are insignificant" [Surah At-Tawba 29]. So, this pardon for the polytheists was abrogated.  

البيهقي:١٧٧٤٣وَبِهَذَا الْإِسْنَادِ عَنِ ابْنِ عَبَّاسٍ ؓ قَالَ قَوْلُهُ {وَأَعْرِضْ عَنِ

الْمُشْرِكِينَ} [الحجر 94] وَ {لَسْتَ عَلَيْهِمْ بِمُصَيْطِرٍ} [الغاشية 22] يَقُولُ لَسْتَ عَلَيْهِمْ بِجَبَّارٍ {فَاعْفُ عَنْهُمْ وَاصْفَحْ} [المائدة 13] {وَإِنْ تَعْفُوا وَتَصْفَحُوا} [التغابن 14] {فَاعْفُوا وَاصْفَحُوا حَتَّى يَأْتِيَ اللهُ بِأَمْرِهِ} [البقرة 109] {قُلْ لِلَّذِينَ آمَنُوا يَغْفِرُوا لِلَّذِينَ لَا يَرْجُونَ أَيَّامَ اللهِ} [الجاثية 14] وَنَحْوُ هَذَا فِي الْقُرْآنِ أَمَرَ اللهُ بِالْعَفْوِ عَنِ الْمُشْرِكِينَ وَأَنَّهُ نَسْخَ ذَلِكَ كُلَّهُ قَوْلُهُ {فَاقْتُلُوا الْمُشْرِكِينَ حَيْثُ وَجَدْتُمُوهُمْ} [التوبة 5] وَقَوْلُهُ {قَاتِلُوا الَّذِينَ لَا يُؤْمِنُونَ بِاللهِ وَلَا بِالْيَوْمِ الْآخِرِ} [التوبة 29] إِلَى قَوْلِهِ {وَهُمْ صَاغِرُونَ} [التوبة 29] فَنَسَخَ هَذَا الْعَفْوَ عَنِ الْمُشْرِكِينَ