The Justice Department is expected to ban profiling by federal law enforcement.

Counter-terror investigators would be barred from undercover operations in mosques or other religious institutions unless there is reason to believe criminal activity is going on there, under a new policy expected within weeks.

The new rules would ban profiling based on religion, ethnicity or sexual orientation and includes no exemption for national security investigations, the Los Angeles Times reports.

The announcement of the new policy to crack down on law enforcement profiling was delayed for several months because of White House concerns over national security implications.

Though details are not final, the new policy is expected to prohibit undercover surveillance without specific information about criminal activity, according to the Times.

Current rules, approved in the wake of the Sept. 11, 2001 terror attacks, give law enforcement wide discretion to monitor religious groups. The changes would extend current bans on racial profiling to religious and other groups, and for the first time would not include an exception for national security investigations.

Local law enforcement will probably not be affected by the new rules, according to the Times.