EY 2613 then FR 6791 at Madrid
Bogota → Madrid → Marrakesh
Timetable, Madrid time
08:10EY 2613 from Bogota at the gatealso EK 3814
07:15FR 6791 to Marrakesh leaves the gate
23 h 05 apart on the timetable, overnight
FR 6791 leaves 23 h 05 after EY 2613 arrives on the timetable: more than half a day, so not a connection we count.