From The Book of Dua
Shaikh Hussain al-Awaaishah
Found on CalgaryIslam
This has been mentioned in the story of three people who entered a cave, the entrance of which had been blocked by a rock. They invoked Allah by their most sincere deeds, and He responded to them (and released them).
[The story has been reported in Bukhari & Muslim].