PARIS — The French government has shut down three mosques and four informal Muslim prayer rooms out of concern that they were contributing to Islamic radicalization, the French interior minister announced Wednesday.

The minister, Bernard Cazeneuve, told the National Assembly that the action was necessary after the deadly terror attacks in and around Paris on Nov. 13, which left 130 people dead and hundreds wounded.

“There will be complete firmness against those that preach hatred in France,” he said.

Two of the shuttered mosques are in the greater Paris region and one is in Lyon; four “clandestine” prayer rooms were closed in Nice. The closures are to last only as long as the national state of emergency does, Mr. Cazeneuve said.