The question would have been properly objected to as calling for hearsay.
Not hearsay. If I ask you “Did Mrs. Lucky say why she was going to the store, and if so, what did she say?”, I am asking you to report what you heard first hand. I would then be able to follow up with Mrs. Lucky regarding what she said, and what she might have been thinking.