U.S. District Judge Barbara Crabb on Wednesday set the hearing for 1 p.m. on Friday.
The American Civil Liberties Union filed a proposed order that would require state officials to let gay couples marry and to recognize same-sex marriages performed in other states.
Attorney General J.B. Van Hollen objected Wednesday, saying the ACLU's request was too broad. But Van Hollen also asked Crabb to act quickly.
Van Hollen also reiterates his request to Crabb that she put her ruling on hold pending his planned appeal, a move that that would put an end to gay marriages in the state for now.