Collective prayers held for victims of terrorist attacks