Hadithcore
Mishkat al-Masabih, 3556

Zaid b. Khalid told that he heard God’s Messenger giving command that an unmarried man who committed fornication should receive a hundred lashes and be banished for a year. Bukhari transmitted it.

وَعَنْ زَيْدِ بْنِ خَالِدٍ قَالَ: سَمِعْتُ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَأْمُرُ فِيمَنْ زَنَى وَلَمْ يُحْصَنْ جَلْدَ مِائَةٍ وَتَغْرِيبَ عَامٍ. رَوَاهُ البُخَارِيّ

References1 variant
In-Book Reference
Book 17, Hadith 2