Abraham supplicates for Lady Hagar and Ishmael as he leaves them by the Ka'ba in Mecca according to the order of Allah 14:37-38
14:37 Our Lord, I have settled some of my offspring in a barren valley near Your Holy House; our Lord, in order that they establish the prayer. Make the hearts of people yearn towards them, and provide them with fruits, in order that they are thankful.