Mishkat al-Masabih 931
وَعَنْ عَبْدِ اللَّهِ بْنِ مَسْعُودٍ قَالَ: كُنْتُ أُصَلِّي وَالنَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ وَأَبُو بَكْرٍ وَعُمَرُ مَعَهُ فَلَمَّا جَلَسْتُ بَدَأْتُ بِالثَّنَاءِ عَلَى اللَّهِ تَعَالَى ثُمَّ الصَّلَاةُ عَلَى النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ ثُمَّ دَعَوْتُ لِنَفْسِي فَقَالَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «سَلْ تعطه سل تعطه» . رَوَاهُ التِّرْمِذِيّ
And from ʿAbdullah ibn Masʿud, who said: I was praying, and the Prophet ﷺ was there, with Abu Bakr and ʿUmar with him. When I sat, I began by praising Allah the Exalted, then sending blessings upon the Prophet ﷺ, then I supplicated for myself. The Prophet ﷺ said: "Ask and you will be given it; ask and you will be given it." Reported by at-Tirmidhi.