Other translations of verse 22
Some will say, “They were three, their dog was the fourth,” while others will say, “They were five, their dog was the sixth,” – merely guessing at the unseen. And others will say, “They were seven, their dog was the eighth.” Say, “My Lord knows best their number; no one knows about them except a few14. So do not argue about them except in a brief manner, nor ask anyone about them.”
Notes
[14] i.e., that which is the sure argument, one in the Qur’an.
(Some) say they were three, the dog being the fourth among them; and (others) say they were five, the dog being the sixth, - guessing at the unseen; (yet others) say they were seven, and the dog being the eighth. Say (O Muhammad صلى الله عليه وسلم): "My Lord knows best their number; none knows them but a few." So debate not (about their number) except with the clear proof (which We have revealed to you). And consult not any of them (people of the Scripture - Jews and Christians) about (the affair of) the people of the Cave.
(Some) will say: They were three, their dog the fourth, and (some) say: Five, their dog the sixth, guessing at random; and (some) say: Seven, and their dog the eighth. Say (O Muhammad): My Lord is Best Aware of their number. None knoweth them save a few. So contend not concerning them except with an outward contending, and ask not any of them to pronounce concerning them.
(Some) say they were three, the dog being the fourth among them; (others) say they were five, the dog being the sixth,- doubtfully guessing at the unknown; (yet others) say they were seven, the dog being the eighth. Say thou: "My Lord knoweth best their number; It is but few that know their (real case)." Enter not, therefore, into controversies concerning them, except on a matter that is clear, nor consult any of them about (the affair of) the Sleepers.
(Some) say: (They are) three, the fourth of them being their dog; and (others) say: Five, the sixth of them being their dog, making conjectures at what is unknown; and (others yet) say: Seven, and the eighth of them is their dog. Say: My Lord best knows their number, none knows them but a few; therefore contend not in the matter of them but with an outward contention, and do not question concerning them any of them.
They will say, "Three, their dog (was) the fourth of them." And (others) will say, "Five, their dog (was) the sixth of them, " guessing at the Unseen. (Some others) will say, "Seven, and their dog (was) the eighth of them." Say, "My Lord knows best their right number; none knows them, except a few." So do not wrangle about them, except in outward wrangling, and do not ask any of them for a pronouncement on them.