Yes, the Almighty overruled on Sarai's behalf and brought her back even though Abraham acted foolishly.
Watch the Teaching: Why Should a Wife Submit if Her Husband is Wrong?