FR 4083 then IB 5186 at Barcelona
Warsaw Modlin → Barcelona → Málaga
Timetable, Barcelona time
19:10FR 4083 from Warsaw Modlin at the gate
13:55IB 5186 to Málaga leaves the gate
18 h 45 apart on the timetable, overnight
IB 5186 leaves 18 h 45 after FR 4083 arrives on the timetable: more than half a day, so not a connection we count.