This also demonstrates that if it was the wrong action Allah would not have ordered us to pray for other people, nor would He have stated that those who ask for forgiveness for the deceased, receive praises from Allah.
(Dadka "Xaqa" rumeeyoow!