ذَٰلِكَ مِنْ أَنبَاءِ الْغَيْبِ نُوحِيهِ إِلَيْكَ ۚ وَمَا كُنتَ لَدَيْهِمْ إِذْ يُلْقُونَ أَقْلَامَهُمْ أَيُّهُمْ يَكْفُلُ مَرْيَمَ وَمَا كُنتَ لَدَيْهِمْ إِذْ يَخْتَصِمُونَ (44)
(3:44) (O Muhammad!) We reveal to you this account from a realm which lies beyond the reach of your perception for you were not with them when they drew lots with their pens about who should be Mary's guardian, *43 and you were not with them when they disputed about it.
*43). They drew lots to decide who should be the guardian of Mary, whose mother had consecrated her to the service of God in the Temple. Since she was a girl, it was a delicate matter as to who from among the priests of the Temple would be the appropriate person to take care of her.