'Ubadah bin As-Samit (May Allah be pleased with him) said:
The Messenger of Allah (ﷺ) said, "Whenever a Muslim supplicates Allah, He accepts his supplication or averts any similar kind of trouble from him until he prays for something sinful or something that may break the ties of kinship." Upon this someone of the Companions said: "Then we shall supplicate plenty." The Messenger of Allah (ﷺ) said, "Allah is more plentiful (in responding)."[At- Tirmidhi].
App reference: Book 17, Hadith 37
Arabic/English book reference: Book 17, Hadith 1501