FR 3040 then IB 2627 at Barcelona
Prague → Barcelona → New York JFK
Timetable, Barcelona time
22:40FR 3040 from Prague at the gate
18:45IB 2627 to New York JFK leaves the gatealso LL 2627, QR 5372, AY 5393, AA 8846
20 h 05 apart on the timetable, overnight
IB 2627 leaves 20 h 05 after FR 3040 arrives on the timetable: more than half a day, so not a connection we count.