Dipu Chandra Das was first beaten up by a mob outside the factory over blasphemy allegations on Thursday night and hanged from a tree, police said.