(Mike Segar/Reuters)

Some of the world's biggest tech companies have criticized President Trump's executive order to temporarily ban citizens and refugees from seven Muslim countries from entering the United States. Now, one of those firms said it is exploring legal action to oppose the order.

Amazon chief executive Jeffrey P. Bezos wrote in an email to employees Monday that company lawyers have prepared a "declaration of support" backing Bob Ferguson, Washington state's attorney general, in a lawsuit against the Trump administration's order.

Bezos also wrote that the company's attorneys "are working other legal options as well," according to the letter, which was sent to The Post by Amazon in response to questions about the Ferguson lawsuit.

The Bezos memo comes ahead of a broader meeting of the legal teams of leading tech companies. The gathering was planned for Tuesday, according to a person familiar with the plans who spoke on condition of anonymity to discuss the private event. Reuters reported Google, Airbnb and Netflix, among others, are expected to attend.

The suit by Ferguson argues that the order violates the equal protection clause of the Constitution as well as the First Amendment. The state also filed a motion saying that the ban should be halted immediately.

“No one is above the law — not even the President,” Ferguson said in a statement. “And in the courtroom, it is not the loudest voice that prevails. It’s the Constitution.”

Other Washington-based tech companies that expressed support for the lawsuit include Microsoft, which pledged to testify and provide supporting evidence for the case, and Expedia, an online travel-booking firm.

Since Trump's executive order was unveiled on Friday, major tech companies including Google, Apple and Facebook have sharply and publicly criticized the Trump administration. Some companies have recalled employees based in the seven countries — Iran, Iraq, Libya, Somalia, Sudan, Syria, and Yemen. Others, such as Microsoft, said they are offering special legal assistance to help their workers travel to the United States. On Monday, scores of Google employees and Sergey Brin, one of the company's founders whose family fled as refugees from the Soviet Union, took to the streets to protest Trump's immigration ban.

Based in Seattle, Amazon did not answer questions on how many of its employees may be affected by the order or what Bezos meant when he wrote the retailing giant was exploring "other legal options." Bezos's letter said the company had spoken to lawmakers and "senior administration officials" to express its opposition to the policy. (Bezos also owns The Washington Post.)

Ferguson's lawsuit is the first by a state to challenge the executive order. But other attorneys general are also mulling legal action, including Eric Schneiderman, the attorney general of New York, according to his spokeswoman Amy Spitalnick.