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 Pradeshs Sambhal on Sunday morning, police said.