It is narrated from Hazrat Abu Hurairah (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) gave the ruling regarding an unmarried fornicator that along with carrying out the prescribed punishment (hadd), he should also be exiled for one year as a disciplinary measure.