Remembrance of Allah in a loud voice while walking with the funeral procession is an innovation (bid’ah).
Many scholars, including Shaykh al-Albani (may Allah have mercy on him), have declared this practice an innovation.
It is narrated from Qays ibn Abbad (may Allah be pleased with him):
كان أصحاب النبى يكرهون رفع الصوت عند الجنائز
“The Companions of the Prophet ﷺ disliked raising the voice near funerals.”
(Imam al-Nawawi, may Allah have mercy on him): What is appropriate and preferred, and what the salaf were upon, is silence while walking with the funeral. Therefore, no recitation, remembrance of Allah, or any other sound should be raised aloud.