QR 3522 then LA 5787 at Barcelona
Málaga → Barcelona → Prague
Timetable, Barcelona time
01:20QR 3522 from Málaga at the gate
18:25LA 5787 to Prague leaves the gate
17 h 05 apart on the timetable
LA 5787 leaves 17 h 05 after QR 3522 arrives on the timetable: more than half a day, so not a connection we count.