An explosion at a mosque in southwest Pakistan killed at least four people and injured over a dozen others, police and local media reported.