KHARTOUM, Sudan — A Sudanese woman was re-arrested Tuesday a day after a local court overturned her death sentence for apostasy and was charged with forging travel documents, her lawyer said.

Meriam Yehia Ibrahim, 27, was detained with her husband, Daniel Wani, and two children by members of Sudan’s National Intelligence and Security Service at the airport in the capital, Khartoum, as she tried to board a flight to leave the country, Thabit al-Zubair Soliman, one of her lawyers, said by phone. The NISS security agents filed the charge against the couple after questioning them, he said.

Ibrahim and Wani will probably released on bail later Tuesday, Soliman said. Ibrahim was traveling on a travel document issued by the South Sudanese Embassy in Khartoum, he said. South Sudan gained independence from Sudan in 2011.

“The reason for these charges is to find a legal reason to keep Meriam inside Sudan,” Soliman said. “The NISS do not have any proof that these documents are forged.”

Sudanese Information Minister Ahmed Bilal Osman said by phone earlier that he had no details about the incident.

Ibrahim was released Monday when an appeals court canceled the death sentence she received in May after refusing to recant her Christian faith in favor of Islam. The case sparked condemnation from governments including the United States and Britain as well as rights groups such as Amnesty International.

Ibrahim was arrested in August after men who said they were from her father’s side of the family reportedly accused her of adultery because of her marriage to Wani, a Christian. An apostasy charge was added when she said she followed the Christian faith of her Ethiopian mother and was never a Muslim, contradicting the court which considered her to be sharing her Sudanese father’s religion.

Sudan’s Foreign Ministry said in a statement after Ibrahim’s release Monday that the government had refused to interfere in the work of the judiciary after coming under “unprecedented pressure” by foreign governments and international organizations to do so.