IB 52 then AM 6845 at Madrid
Málaga → Madrid → Venezia
Timetable, Madrid time
15:30IB 52 from Málaga at the gate
15:15AM 6845 to Venezia leaves the gate
23 h 45 apart on the timetable, overnight
AM 6845 leaves 23 h 45 after IB 52 arrives on the timetable: more than half a day, so not a connection we count.