Sayyidina Ali ibn Abu Talib (RA) mentioned standing up for the funeral till it was placed down. He said, “Allah’s Messenger (SAW) stood up and then sat down.” (or He was to stand up, but afterwards kept sitting).
[Ahmed1094, Muslim 962, Abu Dawud 3125, Nisai 1995, Ibn e Majah 1544]
--------------------------------------------------------------------------------