Noura Hussein, 19, was instead sentenced to five years in jail, lawyer Abdelaha Mohamad said.
Her mother, Zainab Ahmed, told the BBC she was happy her daughter’s life had been spared.
International celebrities had backed an online campaign, #JusticeforNoura, to demand Ms Hussein’s release.
Last month, an Islamic court had sentenced her to death by hanging, following her conviction for the pre-meditated murder of her husband.
Ms Hussein was forced into the marriage at the age of 16.
She said her husband had recruited some of his cousins who allegedly held her down as he raped her.
When he allegedly attempted to do the same the following day she lashed out at him with a knife and stabbed him to death.