I’m very likely wrong here, but I don’t think you could have time prior to space and matter. Isn’t time simply and abstraction of change/motion? It has no existence separate from matter (including space).
So I think the creation of the heavens and earth must have preceded time (by literally a single instant). Vain speculation - one ‘day’ we’ll know, I hope.