From Sahih Muslim (Hadith 1884):
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
Reference: Muslim 1884