The Prophet (peace and blessings be upon him) forbade sitting between the sun and the shade, and he said: "It is the sitting place of Satan."