ENOfficial
In al-Mujtaba by Daraqutni ‘Umar b. al-Khattab is reported as saying, “God’s Messenger forbade us to beat people who observe the prayers.”
Source: sunnah.com
Other translations
Arabic
وَفِي «الْمُجْتَبَى» لِلدَّارَقُطْنِيِّ: أَنَّ عُمَرَ بْنَ الْخَطَّابِ رَضِيَ اللَّهُ عَنْهُ قَالَ: نَهَانَا رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ عَنْ ضَرْبِ الْمُصَلِّينَ
sunnah.com