I there a hadith which says that on the day of judgement those people will be punished who did not use their aqal (wisdom/common sense)?

There is a hadith that states Allah will judge us based on our level of intellect. If one had a higher intellectual capacity, Allah expects more from that person. Yes if a person did not use his intellectual capacity and deviated Allah will punish him for that.