Sunan Abi Dawud, Book 35, Hadith 22 (Abu Dawud 4181)

Narrated Ammar ibn Yasir:

The Prophet (ﷺ) said: The angels do not come near three: the dead body of the unbeliever, one who smears himself with khaluq, and the one who is sexually defiled except that he performs ablution.