Several funerals were held overnight in the city of Malegaon , as Muslims celebrated a religious festival called Shab-e-Barat .