IB 833 then EW 2685 at Athens
Madrid → Athens → Stuttgart
Timetable, Athens time
15:10IB 833 from Madrid at the gate
11:40EW 2685 to Stuttgart leaves the gate
20 h 30 apart on the timetable, overnight
EW 2685 leaves 20 h 30 after IB 833 arrives on the timetable: more than half a day, so not a connection we count.