The Prophet ﷺ said: If anyone spends the night with grease on his hand which he has not washed away, he can blame only himself if some trouble comes to him. (Using translation from Abū Dāʾūd 3852)
قَالَ رَسُولُ اللهِ ﷺ مَنْ نَامَ وَفِي يَدِهِ غَمَرٌ وَلَمْ يَغْسِلْهُ فَأَصَابَهُ شَيْءٌ فَلَا يَلُومَنَّ إِلَّا نَفْسَهُ