This is the time to grieve with them and remind them that when acts like this befall us human beings,we should,even in that situation,give thanks to Allah that some people are still alive and that the whole community is not wiped off.
The Religion of Islam teaches strongly that true IBADA teaches human beings to accept all acts that befall us as happening with the knowledge of Allah.
The religion of Islam also teaches that no leaf falls off a tree without the permission of Allah and the Faithfuls should see it as an event that the All Knowing God allowed for reasons best known to him.
We can only say that the adherents of the Faith should stay strong and thank God even for being alive.