وَإِنْ تَلَاهَا فِي غَيْرِ الصَّلَاةِ فَسَجَدَهَا، ثُمَّ دَخَلَ فِي الصَّلَاةِ فَتَلَاهَا: سَجَدَهَا ثَانِيًا، وَلَمْ تُجْزِئْهُ السَّجْدَةُ الْأُولَى.
Translation: If a person recited a prostration verse outside prayer and prostrated for it, then recited that verse in prayer, he prostrates again. The earlier prostration does not suffice for the later recitation.
The first occurrence had already been discharged; a new recitation in prayer calls for its own prostration.