A word which occurs in the Qur’an, Surah xviii. 8: “Hast thou reckoned that the Fellows of the cave and the Raqim wore a wonder amongst our signs?” The commentators are not agreed as to the meaning of this word. The Jalalan say, it was a brass plate or stone-table, on which the names of the Fellows of the Cave were written. The Kamalan say it was either the name of the dog which belonged to the young men, or of the valley in which the cave was situated.
Based on Hughes, Dictionary of Islam