Sahih al-Bukhari #2901
Fighting for the Cause of Allah (Jihaad) 56:115
Narrated Abu Huraira:
While some Ethiopians were playing in the presence of the Prophet, `Umar came in, picked up a stone and hit them with it. On that the Prophet (ﷺ) said, "O `Umar! Allow them (to play)." Ma`mar (the subnarrator) added that they were playing in the Mosque.