Sayyiduna Abu Hurayrah (may Allah be pleased with him) narrates that the Prophet (peace and blessings be upon him) forbade praying at three times: at the time the sun rises, until it has risen; at midday; and at the time the sun sets.
Al-Tabarani recorded it in al-Mu'jam al-Awsat; its chain contains a narrator, Ibn Lahi'ah, about whom there is criticism.