Divorcing one’s wife while in jail based on some information received from the father and then discovering it was false

A: The information state that the man divorced his wife based on what was said to him about her, that she caused much trouble in his family and that (Part No. 20; Page No. 167) her presence threatened stability. The divorce document was written after the said period of time has elapsed. After the man was released from jail, he discovered that his wife was innocent of all the false accusations his father made and that she did not threaten the family's stability. If all of these matters are proven, the divorce is not effective, since it was based on the authenticity of what was said to him about his wife at that time and which finally turned out to be false. May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.