They performed five Circuits of Sa'y and then they went to their Accommodations
Question :
A group made Sa'y between As-Safa and Al-Marwah and they performed five circuits. Then they left the area of Sa'y and they did not remember to do the remaining two circuits until after they had left to their accommodations. So, what is the ruling?
Answer:
These people who performed five circuits of Sa'y then went to their places of stay, and they did not remember the last two circuits, they must return to complete the two circuits, and there is no problem with that. This is what is correct, because continuation without a break between the circuits of Sa'y is not a condition according to the correct view. If they repeat it from its beginning, there is no harm in that. However, the correct view is that it suffices them to perform the two circuits and complete the Say. This is the most correct view among the two opinions of the scholars concerning this.
Source:
Ash-Shaykh Ibn Baz
Fatawa Islamiyah, Vol. 4 Pages 201-202