A mob, consisting of thousands of people, stormed a prison compound in India's far northeast, dragging out a rape suspect before beating him to death on the streets on Thursday, authorities say.