It is narrated from Sayyiduna Anas bin Malik (may Allah be pleased with him) that: "The Messenger of Allah (peace and blessings be upon him) intended to lead the funeral prayer of Abdullah bin Ubayy, but Jibril (peace be upon him) took hold of his (peace and blessings be upon him) blessed garment and said: 'Do not ever pray (the funeral prayer) over any of them who dies, nor stand at his grave.'"
Imam Abu Ya'la recorded this hadith, and its chain contains Yazid bin Aban al-Raqashi; Imam al-Nasa'i also recorded it from the hadith of Sayyiduna Umar bin al-Khattab (may Allah be pleased with him).