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 McCainGOP rushes to cut ties to Moore GOP strategist: 'There needs to be a repudiation' of Roy Moore by Republicans World leaders reach agreement on trade deal without United States: report MORE (R-Ariz.), Lindsey GrahamLindsey Olin GrahamCNN to air sexual harassment Town Hall featuring Gretchen Carlson, Anita Hill Trump wrestles with handling American enemy combatants Flake: Trump's call for DOJ to probe Democrats 'not normal' MORE (R-S.C.) and Marco RubioMarco Antonio RubioOvernight Cybersecurity: What we learned from Carter Page's House Intel testimony | House to mark up foreign intel reform law | FBI can't access Texas shooter's phone | Sessions to testify at hearing amid Russia scrutiny Cornyn: Senate GOP tax plan to be released Thursday This week: GOP seeks to advance tax overhaul 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.