[Machine] The Messenger of Allah ﷺ said: "When Allah intends to create a servant, the angels say, 'O Lord, is it a male or female?' And the Lord says, 'Whatever He wills,' and the angel writes it down. Then the angel says, 'O Lord, is he to be miserable or happy?' And the Lord says, 'Whatever He wills,' and the angel writes it down. Then the angel says, 'O Lord, what is his sustenance?' And the Lord says, 'Whatever He wills,' and the angel writes it down. Then the angel says, 'O Lord, what is his lifespan?' And the Lord says, 'Whatever He wills,' and the angel writes it down."
قَالَ رَسُولُ اللهِ ﷺ إِنَّ اللهَ ﷻ إِذَا أَرَادَ أَنْ يَخْلُقَ الْعَبْدَ قَالَ الْمَلَكُ يَا رَبِّ أَذَكَرٌ أَمْ أُنْثَى؟ فَيَقُولُ الرَّبُّ مَا شَاءَ فَيَكْتُبُ الْمَلَكُ ثُمَّ يَقُولُ الْمَلَكُ يَا رَبِّ أَشَقِيٌّ أَمْ سَعِيدٌ؟ فَيَقُولُ الرَّبُّ مَا شَاءَ وَيَكْتُبُ الْمَلَكُ ثُمَّ يَقُولُ يَا رَبِّ مَا هُوَ لَاقٍ؟ فَيَقُولُ الرَّبُّ مَا شَاءَ وَيَكْتُبُ الْمَلَكُ ثُمَّ يَقُولُ الْمَلَكُ مَا رِزْقُهُ؟ فَيَقُولُ اللهُ مَا شَاءَ وَيَكْتُبُ الْمَلَكُ ثُمَّ يَقُولُ يَا رَبِّ مَا أَجَلُهُ؟ فَيَقُولُ الرَّبُّ مَا شَاءَ وَيَكْتُبُ الْمَلَكُ