Ruffhead must have got this anecdote from Warburton himself, who is known to have helped him in his Life of Pope.
Note from David Mallet, from Literary Anecdotes