It is narrated from Sayyiduna Hudhayfah bin Usayd (may Allah be pleased with him) that he said: I saw Sayyiduna Ali bin Abi Talib (may Allah be pleased with him) pray four long rak'ahs when the sun passed the meridian. I asked him about it, and he said: "I saw the Messenger of Allah (peace and blessings be upon him) praying this prayer, so I asked him (peace and blessings be upon him) about it, and he (peace and blessings be upon him) said: 'Indeed, when the sun passes the meridian the gates of heaven are opened, and they are not closed until the Zuhr prayer has been prayed, so I love that some (good) deed of mine be raised to Allah at that time.'"
Imam Abu Bakr bin Abi Shaybah recorded it with a da'if (weak) chain, because some of its narrators are majhul (unknown). However, it has a supporting narration (shahid) from the hadith of Sayyiduna al-Sa'ib bin Yazid (may Allah be pleased with him), which Imam al-Tirmidhi recorded and declared hasan (good).