FR 2514 then IB 785 at Madrid
Bucharest → Madrid → Berlin
Timetable, Madrid time
00:45FR 2514 from Bucharest at the gate
15:55IB 785 to Berlin leaves the gatealso VY 5166, AA 8738
15 h 10 apart on the timetable
IB 785 leaves 15 h 10 after FR 2514 arrives on the timetable: more than half a day, so not a connection we count.