DARIMI 3470:
from Farwah b. Nawfal from his father —
[Machine] "The Messenger of Allah ﷺ said: 'There will come a time when something will come to you.' He said, 'I came to you to teach me something to say before I sleep.' He said, 'When you go to your bed, recite Surah Al-Kafirun (Chapter 109) and then sleep upon its completion, for it is a disavowal of polytheism.'"
الدارمي ٣٤٧٠:
عن فروه بن نوفل عن أبيه —
أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ «مَجِيءٌ مَا جَاءَ بِكَ» قَالَ جِئْتُ لِتُعَلِّمَنِي شَيْئًا أَقُولُهُ عِنْدَ مَنَامِي قَالَ «فَإِذَا أَخَذْتَ مَضْجَعَكَ فَاقْرَأْ قُلْ يَا أَيُّهَا الْكَافِرُونَ ثُمَّ نَمْ عَلَى خَاتِمَتِهَا فَإِنَّهَا بَرَاءَةٌ مِنَ الشِّرْكِ»
hadithunlocked.com