FR 6814 then FR 997 at Madrid
Manchester → Madrid → Wroclaw
Timetable, Madrid time
19:30FR 6814 from Manchester at the gate
11:05FR 997 to Wroclaw leaves the gate
15 h 35 apart on the timetable, overnight
FR 997 leaves 15 h 35 after FR 6814 arrives on the timetable: more than half a day, so not a connection we count.