IB 564 then IB 409 at Madrid
Málaga → Madrid → Barcelona
Timetable, Madrid time
14:35IB 564 from Málaga at the gatealso CX 1863, QR 6912
10:25IB 409 to Barcelona leaves the gatealso LA 1624, CX 1827, LL 3009, VY 5116, AV 6078, BA 7129, QR 7246, AA 8727
19 h 50 apart on the timetable, overnight
IB 409 leaves 19 h 50 after IB 564 arrives on the timetable: more than half a day, so not a connection we count.