House Judiciary Committee Chairman Bob Goodlatte, a Virginia Republican, issued a statement Sunday that confirmed the plan.
The original subpoena requires Comey to testify behind closed doors to the House Judiciary and Oversight Committees.
Comey also expressed gratitude to U.S. Circuit Court Judge Trevor McFadden, an appointee of President Donald Trump, who is expected to make a formal ruling Monday. "Hard to protect my rights without being in contempt, which I don't believe in", Comey said in a tweet.
As part of a deal with legislators, Comey has been told that he is free to speak about the questioning afterward and that a transcript would be released 24 hours after he testifies, his attorney, David Kelley, said. Comey had been pushing for a public hearing.
They will likely ask him about the FBI's decisions in 2016 that determined the outcome of a investigation into Democratic presidential candidate Hillary Clinton's illicit use, while secretary of state, of a private email server where more than 100 classified documents were open to unfriendly governments' prying eyes.
"Some Republicans argue that the Justice Department and the Federal Bureau of Investigation conspired against candidate Trump, hoping to throw the election to Clinton".
Image James Comey was dismissed by the president in May 2017
At the heart of the case is whether the panel should be able to force Comey to testify in secret about the FBI's investigations into former Secretary of State Hillary Clinton's use of a private email server and whether President Donald Trump's campaign colluded with Russian Federation.
Democrats have complained that the Republican-led inquiry is a partisan effort to undermine Special Counsel Robert Mueller's investigation into the Russia-related claims.
"Mr. Comey appreciates the Court's attention to the above-captioned matter, but has now reached an acceptable accommodation with U.S. House of Representatives Committee on the Judiciary for voluntary testimony", Comey's lawyers wrote in a court filing Sunday. "There was no need to use baseless litigation in an attempt to run out the clock on this Congress, and I am glad that it was withdrawn".
"Mr. Comey will join us for a closed-door transcribed interview later this week".
A transcript of the interview will be released "as soon as possible after the interview, in the name of our combined desire for transparency", Goodlatte said.
Xi, Putin, Modi agree to increase trilateral cooperation
Speaking on the challenges the world is now facing, the Prime Minister said, "There is no doubt that the world is going through extraordinary change and uncertainty".