How Did the Prophet Muhammad View Children?
He treated his children and grandchildren with great compassion, and never neglected to direct them to the Hereafter and good deeds. He smiled at them, caressed and loved them, but did not allow them to neglect matters related to the afterlife. His ultimate goal was to prepare them for the Hereafter.
All of the Prophet’s sons had died. Ibrahim, his last son born to his Coptic wife Mary, also died in infancy. The Messenger often visited his son before the latter’s death, although he was very busy. Ibrahim was looked after by a nurse. The Prophet would embrace, kiss, and caress him before returning home. When Ibrahim died, the Prophet took him on his lap again, embraced him, and described his sorrow while on the brink of tears. Some were surprised. He gave them this answer: “Eyes may water and hearts may be broken, but we do not say anything except what God will be pleased with.” He pointed to his tongue and said: “God will ask us about this.” 
Whenever he returned to Medina, he would carry children on his mount. On such occasions, the Messenger embraced not only his grandchildren but also those in his house and those nearby. He conquered their hearts through his compassion. He loved all children.
By M. Fethullah Gulen
 Bukhari, “Jana’aiz,’a 44; Muslim, “Fada’ail,” 62; Ibn Maja, “Jana’aiz,” 53.