It is narrated from Sayyiduna Jabir (may Allah be pleased with him): "The Messenger of Allah (peace and blessings be upon him) asked a man who had apostatised from Islam to repent four times (and gave him respite to repent)."
Abu Ya'la al-Mawsili recorded this hadith.