It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that the Prophet (peace and blessings be upon him) was asked about a person who, out of ignorance and not deliberately, did one of the rites of Hajj before or after (its place in the order), and he (peace and blessings be upon him) said: "There is no harm upon him."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 12689