Around 20 people have been taken into custody following the alleged stone-pelting and clashes that erupted during a survey of a mosque in Uttar Pradesh's Sambhal on Sunday morning, police said.