Mishkat al-Masabih 811
وَعَنْ أَبِي هُرَيْرَةَ رَضِيَ اللَّهُ عَنْهُ قَالَ: صَلَّى بِنَا رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ الظّهْر وَفِي مُؤخر الصُّفُوف رجل فَأَسَاءَ الصَّلَاةَ فَلَمَّا سَلَّمَ نَادَاهُ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «يَا فُلَانُ أَلَا تَتَّقِي اللَّهَ؟ أَلَا تَرَى كَيْفَ تُصَلِّي؟ إِنَّكُمْ تُرَوْنَ أَنَّهُ يَخْفَى عَلَيَّ شَيْءٌ مِمَّا تَصْنَعُونَ وَاللَّهِ إِنِّي لَأَرَى مِنْ خَلْفِي كَمَا أَرَى من بَين يَدي» رَوَاهُ أَحْمد
And from Abu Hurayrah, may Allah be pleased with him, who said: The Messenger of Allah ﷺ led us in the Zuhr prayer, and in the back rows there was a man who prayed badly. When he gave salam, the Messenger of Allah ﷺ called him: "O so-and-so, will you not fear Allah? Do you not see how you pray? You think that anything of what you do is hidden from me. By Allah, I see from behind me as I see from in front of me." Reported by Ahmad.