UX 7311 then FR 2528 at Madrid
Vigo → Madrid → Berlin
Timetable, Madrid time
09:40UX 7311 from Vigo at the gate
06:15FR 2528 to Berlin leaves the gate
20 h 35 apart on the timetable, overnight
FR 2528 leaves 20 h 35 after UX 7311 arrives on the timetable: more than half a day, so not a connection we count.