Sayyiduna Umar bin al-Khattab (may Allah be pleased with him) narrated from the Prophet (peace and blessings be upon him), concerning this same story, that he (peace and blessings be upon him) said: "And that you help the one in distress (the oppressed) and guide the one who has lost his way."
Imam Abu Dawud (may Allah have mercy on him) narrated it in this way in his Sunan.