BT 6054 then FR 2766 at Madrid
Amsterdam → Madrid → Prague
Timetable, Madrid time
16:05BT 6054 from Amsterdam at the gatealso SK 6706, AR 7817, DL 9361
10:05FR 2766 to Prague leaves the gate
18 h apart on the timetable, overnight
FR 2766 leaves 18 h after BT 6054 arrives on the timetable: more than half a day, so not a connection we count.