It is narrated from Sayyiduna Samurah bin Jundub (may Allah be pleased with him) that he was delivering a sermon, and al-Muhallab bin Abi Sufrah (may Allah have mercy on him) heard him say in his sermon: "The Messenger of Allah (peace and blessings be upon him) forbade praying before the sun rises, because the sun rises between the two horns of Satan, or (according to the narrator's doubt) upon the horn of Satan."
Abu Bakr bin Abi Shaybah also recorded it in the same way through the chain of Abu Dawud al-Tayalisi.
Imam Abu Ya'la al-Mawsili also recorded it with these words: "Do not pray until the sun has (fully) risen, for it rises between the two horns of Satan and sets between the two horns of Satan."