On seeing them you would fancy them to be awake though they were asleep ; and We caused them to turn their sides to their right and to their left , and their dog sat stretching out its forelegs on the threshold of the Cave . Had you looked upon them you would have certainly fled away from them , their sight filling you with terror .