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. (Using translation from Abū Dāʾūd 4180)
أَنَّ رَسُولَ اللهِ ﷺ قَالَ ثَلَاثَةٌ لَا تَقْرَبُهُمُ الْمَلَائِكَةُ بِخَيْرٍ جِيفَةُ الْكَافِرِ وَالْمُتَضَمِّخُ بِالْخَلُوقِ وَالْجُنُبُ أَنْ يَبْدُوَ لَهُ أَنْ يَأْكُلَ أَوْ يَنَامَ فَلْيَتَوَضَّأْ وُضُوءَهُ لِلصَّلَاةِ