The crying of the child (starts) when the satan begins to prick him.

Sahih Muslim Book 43, Hadith 194