The groups are asking U.S. District Judge Thomas Thrash to prevent the law from taking effect until the lawsuit has been resolved. He's scheduled a hearing for next week.

The law authorizes law enforcement to check the immigration status of a suspect who cannot provide accepted identification and to detain and hand over to federal authorities anyone found to be in the country illegally.