ذِكْرُ إِبَاحَةِ الصَّلَاةِ عَلَى الْقَبْرِ وَإِنْ أَتَى عَلَى الْمَدْفُونِ لَيْلَةٌ
[Machine] The Messenger of Allah ﷺ prayed upon the grave of a man after he was buried at night. He and his companions got up and asked about him. They were told that so-and-so was buried yesterday, so they prayed for him.
«صَلَّى رَسُولُ اللَّهِ ﷺ عَلَى قَبْرِ رَجُلٍ بَعْدَمَا دُفِنَ بِلَيْلَةٍ قَامَ هُوَ وَأَصْحَابُهُ وَكَانَ قَدْ سَأَلَ عَنْهُ قَالُوا فُلَانٌ دُفِنَ الْبَارِحَةَ فَصَلُّوا عَلَيْهِ»