FR 651 then FR 5131 at Dublin
Lisbon → Dublin → Basel
Timetable, Dublin time
23:40FR 651 from Lisbon at the gate
12:35FR 5131 to Basel leaves the gate
12 h 55 apart on the timetable, overnight
FR 5131 leaves 12 h 55 after FR 651 arrives on the timetable: more than half a day, so not a connection we count.