Abu Zumayl reported: I asked Ibn Abbas, may Allah be pleased with him, saying, “What is this I find in my chest?” Ibn Abbas said, “If you find any doubt within yourself, then recite the verse: He is the First and the Last, the Ascendant and the Intimate, and He has knowledge of all things.” (57:3)
Source: Sunan Abī Dāwūd 5110
Grade: Jayyid (very good) according to Al-Nawawi
عن أَبِي زُمَيْلٍ قَالَ سَأَلْتُ ابْنَ عَبَّاسٍ رضي الله عنه فَقُلْتُ مَا شَيْءٌ أَجِدُهُ فِي صَدْرِي فَقَالَ لِي إِذَا وَجَدْتَ فِي نَفْسِكَ شَيْئًا مِنْ شَكٍّ فَقُلْ هُوَ الأَوَّلُ وَالآخِرُ وَالظَّاهِرُ وَالْبَاطِنُ وَهُوَ بِكُلِّ شَيْءٍ عَلِيمٌ
5110 سنن أبي داود أبواب النوم باب في رد الوسوسة
172 المحدث النووي خلاصة حكم المحدث إسناده جيد في الأذكار