Sayyiduna Ibn Abbas (may Allah be pleased with them both) said: "I and a boy of Quraysh, riding on a donkey, passed in front of the Messenger of Allah (peace and blessings be upon him) while he (peace and blessings be upon him) was praying, and he (peace and blessings be upon him) did not turn away from the prayer. And two young girls of Banu Abd al-Muttalib came and took hold of his (peace and blessings be upon him) knees, so he (peace and blessings be upon him) separated the two from each other and did not turn away from the prayer."
Related hadith on this topic