Imam al-Shafi'i (may Allah have mercy on him) reported this from Imam Malik (may Allah have mercy on him), and he also narrated it from Sayyiduna Ubayy bin Ka'b, Zayd bin Abi Thabit and Ibn Abbas (may Allah be pleased with them all); and other hadith scholars besides him also narrated it from Sayyiduna Ibn Umar and Abu al-Darda' (may Allah be pleased with them both).
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / Q3701