U2 2047 then EW 3181 at Madrid
Manchester → Madrid → Prague
Timetable, Madrid time
20:35U2 2047 from Manchester at the gate
13:55EW 3181 to Prague leaves the gate
17 h 20 apart on the timetable, overnight
EW 3181 leaves 17 h 20 after U2 2047 arrives on the timetable: more than half a day, so not a connection we count.