Battles (Kitab Al-Malahim)
Dawud :: Book 37 : Hadith 4325
Narrated Jabir ibn Abdullah:
The Prophet (peace_be_upon_him) said: If any man is among a people in whose midst he does acts of disobedience, and, though they are able to make him change (his acts), they do not change, Allah will smite them with punishment before they die.