[Machine] I prayed Dhuhr or Asr prayer in my house, then I came to the Prophet ﷺ and sat with him. The prayer was established and the Prophet ﷺ prayed, but I did not pray. When he finished, he asked, "Are you not a Muslim?" I said, "Yes." He said, "Why didn't you pray?" I said, "I have already prayed in my house." The Prophet ﷺ said, "When the prayer is established, pray even if you have already prayed."
صَلَّيْتُ الظُّهْرَ أَوِ الْعَصْرَ فِي بَيْتِي ثُمَّ جِئْتُ النَّبِيَّ ﷺ فَجَلَسْتُ عِنْدَهُ فَأُقِيمَتِ الصَّلَاةُ فَصَلَّى النَّبِيُّ ﷺ وَلَمْ أُصَلِّ فَلَمَّا انْصَرَفَ قَالَ «أَلَسْتَ مُسْلِمًا؟» قُلْتُ بَلَى قَالَ «فَمَا لَكَ لَمْ تُصَلِّ؟» قُلْتُ إِنِّي قَدْ صَلَّيْتُ فِي بَيْتِي فَقَالَ النَّبِيُّ ﷺ «إِذَا أُقِيمَتِ الصَّلَاةُ فَصَلِّ وَإِنْ كُنْتَ قَدْ صَلَّيْتَ»