Giving the glad tidings of having a child or anything
A:
Bringing good news of good things is one of the Mustahab (desirable) matters. An example of this is the good news that the Sahabah (Companions of the Prophet, may Allah be pleased with them) gave to Ka‘b ibn Malik (may Allah be pleased with him) on the occasion of having his repentance accepted, in the story of his Tawbah (repentance to Allah). Also, the saying of the Prophet (peace be upon him) on greeting him,
“Receive the good news of the best day that ever happened to you since your mother gave birth to you.”
(Agreed upon by Al-Bukhari and Muslim)
giving something in return to the person who brings the good news is also Mustahab, based on what
Ka‘b (may Allah be pleased with him) did when he gave two garments to the man who gave him the good news.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.