Jane Austen said this quote

They danced again, and when the assembly closed, parted, on the lady’s side at least, with a strong inclination for continuing the acquaintance. Whether she thought of him so much while she drank her warm wine and water and prepared herself for bed as to dream of him when there, cannot be ascertained; but I hope it was no more than in a light slumber, or a morning doze at most, for if it be true, as a celebrated writer has maintained, that no young lady can be justified in falling in love before the gentleman’s love is declared, it must be very improper that a young lady should dream of a gentlemen before the gentleman is first known to have dreamed of her.