There is no harm if you do not do that, for it (the birth of the child) is something ordained. Muhammad (one of the narrators) said: (The words) La 'alaykum (there is no harm) implies its Prohibition.
سُئِلَ النَّبِيُّ ﷺ عَنِ الْعَزْلِ فَقَالَ لاَ عَلَيْكُمْ أَنْ لاَ تَفْعَلُوا ذَاكُمْ فَإِنَّمَا هُوَ الْقَدَرُ قَالَ مُحَمَّدٌ وَقَوْلُهُ لاَ عَلَيْكُمْ أَقْرَبُ إِلَى النَّهْىِ