FR 7157 then FR 122 at Dublin
Madrid → Dublin → London Gatwick
Timetable, Dublin time
09:35FR 7157 from Madrid at the gate
06:55FR 122 to London Gatwick leaves the gate
21 h 20 apart on the timetable, overnight
FR 122 leaves 21 h 20 after FR 7157 arrives on the timetable: more than half a day, so not a connection we count.