Layth (may Allah have mercy on him) narrates from Mujahid (may Allah have mercy on him) that he said: The idol-worshippers are to be fought until they accept Islam, and the People of the Scripture are to be fought until they pay the jizyah.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الجزية / 18638