Riyad as-SalihinChapter 8Hadith 342
Full Sharh — Riyad as-Salihin 342
وعن أبي الدرداء رضي الله عنه أن رسول الله صلى الله عليه وسلم قال: "من حفظ عشر آيات من أول سورة الكهف، عصم من الدجال" وفي رواية: "من آخر سورة الكهف" ((رواهما مسلم)).
English Translation
Abud-Darda' (May Allah be pleased with him) reported:: The Messenger of Allah (ﷺ) said: "Whoever commits to memory the first ten Ayat of the Surat Al-Kahf, will be protected from (the trial of) Ad-Dajjal (Antichrist).".In another narration, the Messenger of Allah (ﷺ) said: "(Whoever commits to memory) the last ten Ayat of Surat Al-Kahf, he will be protected from (the trial of) Ad-Dajjal (Antichrist)."
Source
Riyad as-Salihin(رياض الصالحين)
The Book of Virtues
Hadith Number
342