It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that during the Prophetic era, a woman accepted Islam and married (someone else). Then her first husband came to the Prophet (peace and blessings be upon him) and said: O Messenger of Allah (peace and blessings be upon him)! I had accepted Islam (but had kept it hidden for some reason), and my wife knew about it. The Prophet (peace and blessings be upon him) declared her to be his wife and returned her to her first husband before the second husband.
Hadith Referenceمسند احمد / ومن مسند بني هاشم / 2972
Hadith Gradingحکم دارالسلام:إسناده ضعيف، سماك فى روايته عن عكرمة اضطراب