Jami` at-Tirmidhi Book 10, Hadith 67
The Prophet said: "The rider is to be behind the funeral (procession), and the walker where he wishes, and the child should be prayed over."
"There are three times that the Messenger of Allah prohibited us from performing Salat in, burying our dead in: When the sun's rising appears until it has risen up; when the sun is at the zenith until it passes, and when the sun begins its setting, until it has set."
The Prophet said: "The child is not prayed over, nor does he inherit, nor is he inherited from until one is sure he was alive at birth."