Thousands participated in the funeral procession after noon prayers when loud gunfire sent mourners running in several directions amid chaotic scenes.