W4 6311 then IB 1029 at Madrid
Milan → Madrid → Almeria
Timetable, Madrid time
09:10W4 6311 from Milan at the gate
07:35IB 1029 to Almeria leaves the gatealso LA 1706, AY 4835, VY 5593, AA 8855
22 h 25 apart on the timetable, overnight
IB 1029 leaves 22 h 25 after W4 6311 arrives on the timetable: more than half a day, so not a connection we count.