FR 3977 then IB 5986 at Barcelona
Dublin → Barcelona → Cairo
Timetable, Barcelona time
22:55FR 3977 from Dublin at the gate
17:35IB 5986 to Cairo leaves the gatealso LL 5986, VY 8590
18 h 40 apart on the timetable, overnight
IB 5986 leaves 18 h 40 after FR 3977 arrives on the timetable: more than half a day, so not a connection we count.