A spokesman said the bomb went off next to Joseph 's Tomb shortly after midnight , when Israeli troops were guarding a small group religious Jews praying inside .