Three of the Republicans who helped write the Senate immigration reform bill last year warned President Obama on Thursday not to issue an executive action after the midterm elections.

In a letter to President Obama, Sens. John McCainJohn Sidney McCainLawmakers worry about rise of fake video technology Democrats put Dreamers and their party in danger by playing hardball Trump set a good defense budget, but here is how to make it better MORE (R-Ariz.), Lindsey GrahamLindsey Olin GrahamCongress punts fight over Dreamers to March Pence tours Rio Grande between US and Mexico GOP looks for Plan B after failure of immigration measures MORE (R-S.C.) and Marco RubioMarco Antonio RubioColbert: Students taking action on gun violence 'give me hope' Lawmakers feel pressure on guns Florida lawmaker's aide fired after claiming shooting survivors were 'actors' MORE (R-Fla.) said that such a move would poison the well for an immigration overhaul. 

"In this regard, acting by executive order on an issue of this magnitude would be the most divisive action you could take — completely undermining any good-faith effort to meaningfully address this important issue, which would be a disservice to the needs of the American people," they added.

If Obama did take executive action, the components seem likely to include allowing new work permits and expanding ways for immigrants in the U.S. illegally to stay. The three senators argued that bypassing Congress through an executive action would violate the constitutional system of checks and balances.

"Taking executive action along the lines that have been reported would flaunt [sic] the separation of powers and our system of checks and balances, undermine the rule of law, and frustrate the proper administration of our current immigration system," they wrote.

But McCain, Graham, and Rubio maintained that Congress should take its own action on the topic.

"Congress must fulfill its obligations under the Constitution and address this issue," they wrote.

Some pro-reform Republicans have indicated that the party could consider an immigration overhaul if it wins control of the Senate. But Democrats are skeptical the GOP could move such a measure through both chambers, especially when a presidential election year is on the horizon.