FR 5483 then QS 1057 at Madrid
Porto → Madrid → Prague
Timetable, Madrid time
01:15FR 5483 from Porto at the gate
13:55QS 1057 to Prague leaves the gate
12 h 40 apart on the timetable
QS 1057 leaves 12 h 40 after FR 5483 arrives on the timetable: more than half a day, so not a connection we count.