FR 2251 then IB 5062 at Barcelona
Marrakesh → Barcelona → Granada
Timetable, Barcelona time
20:35FR 2251 from Marrakesh at the gate
12:00IB 5062 to Granada leaves the gate
15 h 25 apart on the timetable, overnight
IB 5062 leaves 15 h 25 after FR 2251 arrives on the timetable: more than half a day, so not a connection we count.