One modern version, cited by The Oxford Dictionary of Nursery Rhymes, is:[1] Ding dong bell, Pussy’s in the well.
[2] The phrase 'Ding, dong, bell' also appears in these passages of Shakespeare's plays: The Tempest, Act I, Scene II: Sea nymphs hourly ring his knell: Hark!
The Merchant of Venice, Act III, Scene II: Let us all ring fancy's knell; I'll begin it – Ding, dong, bell.
[1] In his New Nursery Rhymes for Old (1949) Geoffrey Hall published the following alternative:[4] Ding dong bell Pussy's at the well Who took her there?
What a jolly boy was that To get some milk for pussy cat Who ne'er did any harm But played with the mice in His father's barn.