Imam al-Shafi'i (may Allah have mercy on him) said: "It is said that this entire prohibition was abrogated by this statement of Allah, the Mighty and Majestic: 'And fight them until there is no more fitnah (persecution).' [Surah al-Baqarah: 193]"
Hadith Referenceالسنن الكبرى للبيهقي / كتاب السير / Q17742