utthitaya sa vedhase
vedan pratyaharad dharih
atita—passed; pralaya-apaye—at the end of the inundation; utthitaya—to bring him to his senses after sleeping; sah—the Supreme Lord; vedhase—unto Lord Brahma; hatva—after killing; asuram—the demon; hayagrivam—by the name Hayagriva; vedan—all the Vedic records; pratyaharat—delivered; harih—the Supreme Personality of Godhead.
At the end of the last inundation [during the period of Svayambhuva Manu] the Supreme Personality of Godhead killed the demon named Hayagriva and delivered all the Vedic literatures to Lord Brahma when Lord Brahma awakened from sleeping.
Link to this page: https://prabhupadabooks.com/sb/8/24/57