You might be thinking: “Where is the correlation?”
You see, the heart is a vessel which can only hold one thing at a time, and it acts upon whatever it holds.
So when you listen to music you won’t have any room in your heart for the Qur’an, so when the time for prayer comes, you just won’t be able to pray, because your heart deep down just doesn’t want to recite the Qur’an.
The worst part is that you won’t be able to pray even though you want to, you’ll just sit around wondering why you keep delaying it.
So the best thing you can do, is leave it, perform wudoo’, pray two rakat, and repent to Allaah sincerely.
And begin listening to Qur’an to heal…