I inferred you are referring to the Greek tale Pyramus and Thisbe which is attributed to Shakespeare's "Romeo and Juliet.
Answer:
Romeo and Juliet
Step-by-step explanation:
This Greek myth talks about the similar play of Romeo and Juliet who were two young lovers forbidden to see each other by their parents, and were separated by a wall from conjoined houses and spoke to each other from a small crack in the barrier. Thisbe represents Juliet, Pyramus refers to Romeo.