It is narrated from a companion that he heard the Prophet (peace be upon him) say: When any one of you is in prayer, he should not look up towards the sky, lest his eyesight be taken away.