FR 9471 then IB 787 at Madrid
Pisa → Madrid → Berlin
Timetable, Madrid time
20:00FR 9471 from Pisa at the gate
19:55IB 787 to Berlin leaves the gatealso LA 1540, VY 5167
23 h 55 apart on the timetable, overnight
IB 787 leaves 23 h 55 after FR 9471 arrives on the timetable: more than half a day, so not a connection we count.