Niall Horan bought hot chocolate for fans who queued overnight to see him.

Niall Horan

Niall Horan

The One Direction singer was passing by the TV studios for 'The Tonight Show With Jimmy Fallon' when he spotted the fans camping out, so he went to Starbucks to get hot beverages for them.

Niall, 23, who was accompanied by a videographer, went to three different Starbucks before finding one that was still open in Times Square, and after handing out the drinks, he chatted and posed for pictures with his loyal admirers.

Niall also joked that he hoped the fans were there for him or else it would be embarrassing that he had stopped.

Twitter user @inshallahzayn tweeted a picture of herself with Niall and wrote: "when you're waiting for fallon tickets and the king of pop pulls up (sic)."

She added that fans were told to "put away our phones and out comes Niall James Horan with four carriers of hot chocolate.

"He went to all the Starbucks in Times Square to find the 24 hour one and buy us hot chocolate (sic)."

When asked by a fellow fan if she thought Niall only stopped because he wanted to get footage of himself with fans, she replied: "no, i honestly don't think he would've stopped if he didn't want to. none of us noticed his car until he came out and walked over to us. he really could've just gone to his hotel if he wanted to (sic)."

Meanwhile, Niall recently paid tribute to Louis Tomlinson's "incredible" mother, Johannah Deakin, after she passed away last week following a secret battle with leukaemia.

He wrote: "Very sad news . Louis I love you mate and I'm / all of us are here for you all the way . You're mum was an incredible person.

"Thinking of you and your family .love from my family to yours.. (sic)."

He also flew to London from the US in order to support Louis as he debuted his new single 'Just Hold On', in memory of his mother, at 'The X Factor' finale over the weekend.