Jami` at-Tirmidhi Book 10, Hadith 65
The Prophet said: "No one among the Muslim dies, and Salat is performed for him by a community of Muslims reaching one hundred, and they intercede (supplicate) for him, except that their intercession for him is accepted." In his narration, 'Ali bin Hujr said: "One hundred or more than that."
"When Malik bin Hubairah performed Salat for a funeral and the people were few he would divide them into three groups (rows) then say: 'The Messenger of Allah said: "For whomever three rows perform Salat, then it is granted."
"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."