Mr. Hariri was laid to rest at a Beirut mosque Wednesday after an emotional and politically charged funeral .