I often heard people say this..

do good things and get a window of heaven’s breeze flowing in ur grave? …and bad deeds for opposite?

This is called kabar ka azaab?

is there a reference to this in the Quran?