There are two Friday prayers taking place in the same area, less than the legal distance apart. Due to uncertainty about which prayer started first, worshippers in both mosques are repeating their prayers. Is it permissible to repeat the prayer with the intention of performance, so that if the Friday prayer is valid, the obligation is lifted, and if it is not valid, we perform it as a regular prayer?