NASAI-KUBRA 7617:
from Anas —
"Whenever the Messenger of Allah entered the toilet, he would say: 'A'udhu Billahi minal-khubthi wa'l-khaba'ith (I seek refuge with Allah from male and female devils).'" (Using translation from Ibn Mājah 298)
الكبرى للنسائي ٧٦١٧:
عن انس —
كَانَ رَسُولُ اللهِ ﷺ إِذَا دَخَلَ الْخَلَاءَ قَالَ «أَعُوذُ بِاللهِ مِنَ الْخُبُثِ وَالْخَبَائِثِ»