It was narrated from Jabir bin ‘Abdullah that the Prophet (ﷺ) said:
“Offer the funeral prayer for your dead by night or by day.”