Hazrat Jabir bin Abdullah (may Allah be pleased with him) narrates that when both repent and reform themselves, then there is no harm in it.