Narrated 'Aisha: A man divorced his wife thrice (by expressing his decision to divorce her thrice), then she married another man who also divorced her. The Prophet ﷺ was asked if she could legally marry the first husband (or not). The Prophet ﷺ replied, "No, she cannot marry the first husband unless the second husband consummates his marriage with her, just as the first husband had done".
The Prophet Muhammad's ruling on this matter shows us how important it is to treat people fairly in all matters, especially when it comes to marriage and divorce. He was very clear about what was right and wrong when it came to these matters, which shows us how seriously he took them. We should strive to follow his example in our own lives so that we can ensure justice for all those involved in any marital disputes or disagreements we may encounter throughout our lives.