If the case is as mentioned, the Funeral Prayer should be offered after `Asr (Afternoon) Prayer as it is performed for a specific reason and is excluded from the Hadith,
There is no prayer after the ‘Asr Prayer till the sun sets.
(Part No. 8; Page No. 403) May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.