A rabbi is a religious leader that can often be found preaching in temples. Temples are buildings devoted to worship. Temples can also refer to the flat part of either side of the head between the forehead and the ear. Getting grey around the temples just means to be growing grey hair around the head. 
OLD RABBIS never die , they just get grey around the temples .