I think this is such a good question. I am in awe when people easily say, "and then God said to me,...". I think we need to be very humble and careful when we say we are quoting God. We were blessed to have a pastor, Jerome Ocampo, from the Philippines, and he spoke to us about listening to God. He talked about how to listen and then said if we believed we had a message or words for someone else, and I am paraphrasing, " Approach them and say, while I was praying, this is what came to my mind, I do not know if it means something to you. I ask that you pray and see if this is a message from God to you. " This is the sort of humility we need to use when we say, "God spoke to me". Is it the same as the prompting of the Holy Spirit? I have had times where I felt like I was told something but we are complicated. Does what I think I heard/know agree with the scripture? If it does not then reject it. Is it telling me to do or say something that goes against the fruit of the Spirit? Then reject it. What is the take away from what we think we hear? Does it match with the character of God? If it is a message that says, to be hateful, spiteful, proud, stir of trouble, or any of the other things that God despises, then it was not from Him. Test it. Pray, pray and pray.