It is narrated from Sayyiduna Sa'b bin Jaththamah (may Allah be pleased with him) that he said to the Prophet (peace and blessings be upon him): O Messenger of Allah, we attack a house of the polytheists at night where their children and women are with them, and we kill them too (so what is the ruling)? The Prophet (peace and blessings be upon him) said: "They will be counted with their fathers."
Hadith Referenceالمعجم الكبير للطبراني / باب الصاد / 7420