[Machine] Shall I teach you the words that the Messenger of Allah ﷺ used to teach Abu Bakr when he wanted to sleep? We said, "Yes." He said, "O Allah, Creator of the heavens and the earth, Knower of the unseen and the witnessed, You are the Lord of everything and its King. I bear witness that there is no deity except You alone, with no partner, and the angels bear witness too. O Allah, I seek refuge in You from the devil and his associates. I seek refuge in You from causing harm to myself or causing harm to a Muslim."
أَلَا أُعِلِّمُكُمْ كَلِمَاتٍ كَانَ رَسُولُ اللهِ ﷺ يُعَلِّمُهُنَّ أَبَا بَكْرٍ إِذَا أَرَادَ أَنْ يَنَامَ؟ قُلْنَا بَلَى قَالَ «اللهُمَّ فَاطِرَ السَّمَاوَاتِ وَالْأَرْضِ عَالِمَ الْغَيْبِ وَالشَّهَادَةِ أَنْتَ رَبُّ كِلِّ شَيْءٍ وَمَلِيكُهُ أَشْهَدُ أَنْ لَا إِلَهَ إِلَّا أَنْتَ وَحْدَكَ لَا شَرِيكَ لَكَ وَالْمَلَائِكَةُ يَشْهَدُونَ اللهُمَّ إِنِّي أَعُوذُ بِكَ مِنَ الشَّيْطَانِ وَشِرْكِهِ وَأَعُوذُ بِكَ أَنْ أَقْرِفَ عَلَى نَفْسِي سُوءًا أَوْ أَجُرَّهُ إِلَى مُسْلِمٍ»