(Exodus 19:19) "Moses spoke and the L–rd answered him with a voice": R. Eliezer says: Whence is it derived that the Holy One Blessed be He would not speak (a new commandment) until Moses said to Him that His children had already accepted (the previous commandment)? From "Moses spoke, etc."
Moses Spoke and the Lord Answered Him
Mekhilta Tractate Bachodesh 4:9