It is narrated from Sayyiduna Anas (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Do not pray at the time of sunrise, nor at the time of its setting, for it rises and sets upon the horn of Satan; and between those times, pray as much as you wish."