Maliks Muwatta Book 16, Hadith Number 20.

Section : Permission to Pray Over the Dead After Subh until the Dawn is very Clear and After Asr until the Sun Turns Yellow.

Yahya related to me from Malik from Muhammad ibn Abi Harmala, the mawla of Abd ar-Rahman ibn Abi Sufyan ibn Huwaytib, that Zaynab bint Abi Salama died during the time that Tariq was amir of Madina and her bier was brought out after subh and put in al-Baqi. He said that Tariq used to pray subh right at the beginning of its time. He added, “I heard Abdullah ibn Umar say to the family, ‘You can either pray over your dead now or you can wait until the sun comes up.'”