^I think you might be talking about "Just a Dream", but it's a little bit different from your description. I found it on a different site so I'm not sure I can post the link. There are a few fics with the title so try googling "just a dream harry potter coma".