PU 302 then QS 1057 at Madrid
Lima → Madrid → Prague
Timetable, Madrid time
15:20PU 302 from Lima at the gate
13:55QS 1057 to Prague leaves the gate
22 h 35 apart on the timetable, overnight
QS 1057 leaves 22 h 35 after PU 302 arrives on the timetable: more than half a day, so not a connection we count.