Meeting an Old Friend in a Dream and in Reality

meeting old friends

Something interesting happened to me this morning.

I dreamt of meeting up with an old friend that I haven't seen for over 5 years. We were very coridal in the dream, saying things like, "Wow, when was the last time we saw each other?" And recalling the get together at his house 5 years prior. 

That was the last dream I had before waking. When I went to check my phone, I found that I had been added to a group chat with this individual.

So, after 5 years of not having heard from this person, then suddenly a dream and then a real-life connection. 

Can it be just a coincidence? If not, then how is something like this explained?

I would really like to know.