The Messenger of Allah ﷺ said, "When a believer in Paradise desires a child, the pregnancy and birth happen in a single moment, exactly as he wishes."
حدثنا محمد بن بشار حدثنا معاذ بن هشام حدثنا أبي عن عامر الأحول عن أبي الصديق الناجي
قال رسول الله ﷺ المؤمن إذا اشتهى الولد في الجنة كان حمله ووضعه في ساعة واحدة كما يشتهي
Its chain is hasan. Tirmidhi narrated it in the Description of Paradise, chapter on what has been said about the least honor granted to the people of Paradise, hadith no. 2563, from Ibn Bashar with this wording, and he said, hasan gharib.