John Locke said this quote

Reverie is when ideas float in our mind without reflection or regard of the understanding.