Speaking about the Deceased
Insha'Allah, there is punishment to the deceased when you speak ill off them at the time of the funeral. This does not mean that the deceased person hears you speaking ill or well of them.
Bukhari 2.449, Narrated Abu Al Aswad, r.a.
I came to Medina when an epidemic had broken out. While I was sitting with 'Umar bin Al-Khattab a funeral procession passed by and the people praised the deceased. 'Umar said, "It has been affirmed to him." And another funeral procession passed by and the people praised the deceased. 'Umar said, "It has been affirmed to him." A third (funeral procession) passed by and the people spoke badly of the deceased. He said, "It has been affirmed to him." I (Abu Al-Aswad) asked, "O chief of the believers! What has been affirmed?" He replied, "I said the same as the Prophet had said, that is: if four persons testify the piety of a Muslim, Allah will grant him Paradise." We asked, "If three persons testify his piety?" He (the Prophet) replied, "Even three." Then we asked, "If two?" He replied, "Even two." We did not ask him regarding one witness.
Bukhari 2.448, Narrated Anas bin Malik, r.a.
A funeral procession passed and the people praised the deceased. The Prophet saaws said, "It has been affirmed to him." Then another funeral procession passed and the people spoke badly of the deceased. The Prophet said, "It has been affirmed to him". 'Umar bin Al-Khattab asked (Allah's Apostle (p.b.u.h) ), "What has been affirmed?" He replied, "You praised this, so Paradise has been affirmed to him; and you spoke badly of this, so Hell has been affirmed to him. You people are Allah's witnesses on earth."
Quoted in Nayl al-Awtaar,vol.4, pp.134-5
"Every innovation is misguidance, even if people consider it to be good."
Remember... Allah, subhana watala, sees everything we do!