Hadith 831B1

قَالَ مَالِك فِي رَجُلٍ جَهِلَ فَبَدَأَ بِالسَّعْيِ بَيْنَ الصَّفَا، وَالْمَرْوَةِ قَبْلَ أَنْ يَطُوفَ بِالْبَيْتِ، قَالَ : لِيَرْجِعْ، فَلْيَطُفْ بِالْبَيْتِ، ثُمَّ لِيَسْعَ بَيْنَ الصَّفَا، وَالْمَرْوَةِ، وَإِنْ جَهِلَ ذَلِكَ حَتَّى يَخْرُجَ مِنْ مَكَّةَ، وَيَسْتَبْعِدَ فَإِنَّهُ يَرْجِعُ إِلَى مَكَّةَ، فَيَطُوفُ بِالْبَيْتِ، وَيَسْعَى بَيْنَ الصَّفَا، وَالْمَرْوَةِ، وَإِنْ كَانَ أَصَابَ النِّسَاءَ رَجَعَ، فَطَافَ بِالْبَيْتِ، وَسَعَى بَيْنَ الصَّفَا، وَالْمَرْوَةِ حَتَّى يُتِمَّ مَا بَقِيَ عَلَيْهِ مِنْ تِلْكَ الْعُمْرَةِ، ثُمَّ عَلَيْهِ عُمْرَةٌ أُخْرَى، وَالْهَدْيُ
Imam Malik, may Allah have mercy on him, said that if a person, out of ignorance, performed sa'i before tawaf, then he should return and perform tawaf, then repeat the sa'i. And if he has left Makkah and gone far away, even then he should return, perform tawaf, and then perform sa'i. If he has had intercourse with a woman, then he should return, perform tawaf and sa'i, then perform another 'umrah and offer a sacrifice.
Hadith Reference موطا امام مالك رواية يحييٰ / كتاب الحج / 831B1
Hadith Takhrij «فواد عبدالباقي نمبر: 20 - كِتَابُ الْحَجِّ-ح: 131»