Story highlights "I think we should have a database on everyone who comes into this country," Carson said

Carson added that he didn't think it was a "good idea" to treat any group of people differently

(CNN) While Donald Trump is facing heat for apparently supporting the idea of a database of Muslims in the U.S., GOP primary opponent Ben Carson also wants a database -- of everyone in the country.

"I think we should have a database on everyone who comes into this country," the retired neurosurgeon told reporters from the New Hampshire statehouse Friday, adding later, "Hopefully, we already have a database on every citizen who is already here. If not, we are doing a very poor job."

Trump's comments came Thursday after NBC News asked the real estate mogul if there should be a database to keep track of Muslims in the country.

"There should be a lot of systems, beyond databases. We should have a lot of systems," Trump said.

Read More