When Kakudmī arrived there, Lord Brahmā was engaged in hearing musical performances by the Gandharvas and had not a moment to talk with him. Therefore Kakudmī waited, and at the end of the musical performances he offered his obeisances to Lord Brahmā and thus submitted his long-standing desire.
Srimad Bhagavata Purana
श्रीमद्भागवतमहापुराणम्
मूल श्लोकः
कन्यावरं परिप्रष्टुं ब्रह्मलोकमपावृतम् । आवर्तमाने गान्धर्वे स्थितोऽलब्धक्षणः क्षणम्
kanyāvaraṃ paripraṣṭuṃ brahmalokamapāvṛtam | āvartamāne gāndharve sthito'labdhakṣaṇaḥ kṣaṇam
SB 9.3.30