FR 3977 then FR 6330 at Barcelona
Dublin → Barcelona → Sofia
Timetable, Barcelona time
21:10FR 3977 from Dublin at the gate
17:15FR 6330 to Sofia leaves the gate
20 h 05 apart on the timetable, overnight
FR 6330 leaves 20 h 05 after FR 3977 arrives on the timetable: more than half a day, so not a connection we count.