Also – you can ask Allah by your good deeds:
Bukhari and Muslim relate the hadith of the Prophet (s.A.a.w.s.) of the story of three men, who each supplicated to Allah by a good deed they had done earlier in their lives. As the story goes, “Three persons of a people before you were on a journey when they were overtaken by a storm and therefore they took shelter in a cave. A rock slipped down from the mountain and blocked the exit from the cave. One of them said, ‘The only way for deliverance left is to beseech Allah in the name of some virtuous deed.’” One of the men mentioned a good deed which they had done for Allah, and supplicated, “O Lord, if I did this thing seeking only Thy pleasure, then do Thou relieve us of the distress wrought upon us by this rock.” The rock moved, but not enough to free the men. So, the other two made similar supplications by their good deeds until the rock moved enough to free them.