It was narrated from Abu Hurairah that:
the Messenger of Allah said: "There is a kind of protective jealousy that Allah loves and a kind that Allah hates. As for that which Allah loves, it is protective jealousy when there are grounds for suspicion. And as for that which He hates, it is protective jealousy when there are no grounds for suspicion."
English reference: Vol. 3, Book 9, Hadith 1996
Arabic reference: Book 9, Hadith 2074