With no skilled Muslim labor at his disposal , Qutb called on local craftsmen to build the mosque from the ruins of 27 Hindu and Jain temples , demolished by their own elephants .
The Hindus tried to rebel rather than destroy their own temples .