The myth of Pyramus and Thisbe is the clearest classical parallel to Romeo and Juliet—star-crossed lovers, family opposition, tragic misunderstanding, dual suicide. Shakespeare explicitly nods to it in A Midsummer Night's Dream, where the mechanicals' hilariously botched performance mirrors the tragedy's gravity with comic absurdity.
Ovid's Metamorphoses (Book 4) is the primary source. The tale's DNA runs through Shakespeare's masterpiece: forbidden love, a wall separating lovers, a misread signal, and death as the only union.