It is narrated from Sayyiduna Jarir bin Abdullah al-Bajali (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Whoever resides with the polytheists, the obligation of protection (dhimmah) is absolved from him."
Hadith Referenceالمعجم الكبير للطبراني / باب الجيم / 2248