QR 3522 then FR 4084 at Barcelona
Málaga → Barcelona → Warsaw Modlin
Timetable, Barcelona time
01:20QR 3522 from Málaga at the gate
19:10FR 4084 to Warsaw Modlin leaves the gate
17 h 50 apart on the timetable
FR 4084 leaves 17 h 50 after QR 3522 arrives on the timetable: more than half a day, so not a connection we count.