IB 788 then FR 5301 at Madrid
Berlin → Madrid → Luxembourg
Timetable, Madrid time
10:15IB 788 from Berlin at the gatealso VY 5112, AA 8825
07:15FR 5301 to Luxembourg leaves the gate
21 h apart on the timetable, overnight
FR 5301 leaves 21 h after IB 788 arrives on the timetable: more than half a day, so not a connection we count.