At the end of Surah al-Kahf, but Hammam said: At the beginning of Surah al-Kahf.

Sahih Muslim Book 6 Hadith 312

Sahih Muslim #809 b

The Book of Prayer - Travellers 6:312

This hadith has been transmitted by Qatada with the same chain of transmitters. But Shu'ba (one of the narrators) said:

At the end of Surah al-Kahf, but Hammam said: At the beginning of Surah al-Kahf.

Chapter: The virtue of Surat al-Kahf and Ayat al-Kursi

Grade: Sahih