It is narrated from Hazrat Uqbah bin Aamir (may Allah be pleased with him) that once I asked the Prophet (peace and blessings of Allah be upon him) about the ruling of sacrifice for a six-month-old child. The Prophet (peace and blessings of Allah be upon him) said: You may offer the sacrifice for him, there is no harm.