FR 689 then EC 4796 at Madrid
Vienna → Madrid → Nantes
Timetable, Madrid time
16:00FR 689 from Vienna at the gate
12:45EC 4796 to Nantes leaves the gate
20 h 45 apart on the timetable, overnight
EC 4796 leaves 20 h 45 after FR 689 arrives on the timetable: more than half a day, so not a connection we count.