It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that he was sitting with the Messenger of Allah (peace and blessings be upon him) when Sayyiduna Ali bin Abi Talib (may Allah be pleased with him) came and said: "May my father and mother be sacrificed for you, O Messenger of Allah! This Qur'an slips away from my chest, and I do not find myself able to hold on to it." So the Messenger of Allah (peace and blessings be upon him) said to him: "O Abu al-Hasan, shall I not teach you words by which Allah will benefit you, and by which He will also benefit the one whom you teach them, and by which what you have learned will remain firm in your chest?" He said: "Yes, O Messenger of Allah! Teach me." He (peace and blessings be upon him) said: "When it is the night of Friday, if you are able to stand (in prayer) in the last third of the night, then certainly do so, for it is an hour that is witnessed (by the angels of mercy), and supplication in it is answered; and this is the time about which my brother Ya'qub (peace be upon him) said to his sons: 'I will ask my Lord to forgive you.'"
Imam al-Tirmidhi (may Allah have mercy on him) narrated it through Ahmad bin al-Hasan al-Tirmidhi from Sulayman bin Abd al-Rahman al-Dimashqi, with his chain from Ata and Ikrimah (may Allah have mercy on them both), and that narration is longer than this, and he said: "This hadith is gharib; we know it only from the narration of al-Walid."
I (Imam Diya al-Din al-Maqdisi, may Allah have mercy on him) say: Abu al-Qasim Sulayman bin Ahmad al-Tabarani (may Allah have mercy on him) narrated it from al-Husayn bin Ishaq al-Tustari, from Hisham bin Ammar, from Muhammad bin Ibrahim al-Qurashi, from Abu Salih and Ikrimah, from Sayyiduna Ibn Abbas (may Allah be pleased with them both), similar to it, and it contains an addition about the coming of Sayyiduna Ali (peace be upon him) and his memorising (the Qur'an), as al-Tirmidhi (may Allah have mercy on him) mentioned, or close to it.
Our Shaykh Abu al-Faraj Ibn al-Jawzi (may Allah have mercy on him) mentioned that this hadith is not authentic, because al-Walid bin Muslim is alone in narrating it, and he said: "The scholars of transmission say: He used to narrate from al-Awza'i hadiths which al-Awza'i had through weak shaykhs from shaykhs whom al-Awza'i had met, such as Nafi' and al-Zuhri; so al-Walid would drop the names of the weak narrators and make them directly 'al-Awza'i from Nafi' and al-Zuhri'."
I say: Our Shaykh did not mention who said this. Yet Imam al-Bukhari and Imam Muslim (may Allah have mercy on them both) both agreed on recording al-Walid's hadith in their "two Sahihs", and Marwan bin Muhammad al-Tatari and Abd al-A'la bin Mushir (may Allah have mercy on them both), who were from his own city, praised him, and I did not see any mention of criticism (jarh) of him in the book of Ibn Abi Hatim (may Allah have mercy on him); rather he said: "I asked my father about him, and he said: He is salih al-hadith (fit in hadith)."
Moreover, al-Tabarani (may Allah have mercy on him) also narrated it through a chain other than al-Walid's narration.