The Mishnah Berura (51:1) says that the blessing "Baruch She'amar" was instituted by the Anshei K'nesset HagGedola, based on a page that "fell from the sky" (whatever that means).
What is the earliest source for this prayer? Is it brought down in the Gemara?