Reference: Fataawa Islaamiyyah – Volume 1, Page 236
Question: Is the time during which socks may remain on the feet limited to a day and a night, or five prayers only? And if a person is in a state of ritual impurity, and he prays more than five prayers, beginning the wiping, for example, after the ‘Ishaa. prayer, then wiping for the Fajr, Zhuhr, ‘Asr and Maghrib prayers, then the time for the the ‘Ishaa. prayer comes and the wudhoo of his Maghrib prayer is still intact – can he pray the ‘Ishaa. prayer with the wudhoo of the Maghrib prayer, or should he remove his socks and perform wudhoo?
Response: It has been authentically reported that the Prophet (sal-Allaahu ‘alayhi wa sallam) limited the time for wiping over the socks to three days and nights for the traveller and a day and a night for the resident, and he did not restrict wiping to a specific number of prayers.
Based upon this, the resident may pray with wiping more than five prayers, for example; wiping over them in wudhoo after invalidating his wudhoo at Maghrib time, then praying Maghrib and the ‘Ishaa. together at Maghrib time, then wiping over them for every one of the following prayers: Fajr, Zhuhr, ‘Asr, and then praying Maghrib and the ‘Ishaa. together at Maghrib time on the second day, due to sickness or any other valid legal reason for combining the prayers.
And with Allaah lies all success and may Allaah send prayers and salutations upon our Prophet Muhammad ﷺ and his family and his companions.