Police sources said the operation was based on intelligence inputs