It is narrated from Nafi' (may Allah have mercy on him) that he reported something different from Ibn Umar (may Allah be pleased with both of them) regarding the Salat al-Khawf (prayer of fear), and Malik (may Allah have mercy on him) says that I only narrate it from the Messenger of Allah (ﷺ). And Ibn Abi Dhi'b narrates it from Zuhri, Zuhri from Salim, and Salim from Ibn Umar (may Allah be pleased with both of them), and Ibn Umar (may Allah be pleased with both of them) narrates from the Prophet (ﷺ), about which they have no doubt.
Hadith Referenceمسند الإمام الشافعي / كتاب الصلاة / 373
Hadith Takhrijأخرجه البخاري: التفسير، باب قوله فإن خفتم فرجالًا أو ركبانًا... إلخ (4535).