It is narrated from Sayyidah Aishah (may Allah be pleased with her): "The Messenger of Allah (peace and blessings be upon him) used to forbid praying from the time the sun rises until it has risen high, and he used to say: 'Indeed, the sun rises with the horn of Satan.' He (peace and blessings be upon him) also forbade offering prayer from when the sun comes close to setting until it has set completely."
I (al-Busiri) say that Imam Ahmad bin Hanbal (may Allah have mercy on him) recorded it through the chain of Hasan bin Musa from Ibn Lahi'ah, and then he mentioned the complete hadith.
And Ibn Lahi'ah is a da'if (weak) narrator.