Jami` at-Tirmidhi #3479
Chapters on Supplication 48:110
Abu Hurairah narrated that the Messenger of Allah (ﷺ) said:
“Call upon Allah while being certain of being answered, and know that Allah does not respond to a supplication from the heart of one heedless and occupied by play.”