Imam al-Shafi'i (may Allah have mercy on him) said: Trustworthy people of Madinah informed us, with a chain I do not remember, that the funeral prayer of Aqil bin Abi Talib (may Allah be pleased with him) was offered when the sun had turned yellow, a little before sunset, and they did not wait for it to set.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الجنائز / 6912