And she replied: "Well, the fumes from the DVDs might be toxic and I've still got your money, so by all means borrow my lighter".
READ MORE:
• The Auckland Philharmonic Orchestra to play Harry Potter concerts
• The Harry Potter role JK Rowling turned down and other things you never knew about the films
The article the angered Twitter user appeared to be referring to was one which made the rounds on social media.
It described how after Mike Pence tweeted: "Calls to ban Muslims from entering the U.S. are offensive and unconstitutional", she replied: "'For what will it profit a man if he gains the whole world and forfeits his soul?' Matthew 16:26".
This split opinion on social media, with many applauding her for using the Bible against a conservative Christian.
Her comment was retweeted over 31,000 times.
Another Twitter user who tried to take down the author with their own Biblical passage was similarly smacked down.
It has become a trend for Rowling to respond to her critics on social media, firing off sassy insults that would make Fred and George proud.
She is one of many celebrities have responded to Donald Trump's travel ban over the past few days.
Performers including singers Sia and Grimes have matched donations to civil rights and pro-Muslim causes.
Between them and their supporters, hundreds of thousands of dollars have been raised.
The ban was also referenced multiple times at the Screen Actors Guild awards on Monday, with stars such as Emma Stone, Sarah Paulson and Julia Louis-Dreyfus using speeches to criticise Trum's actions.
This article originally appeared on telegraph.co.uk