Shurayh was performing tawaf of the House of Allah when a man asked him about a ruling, and he gave him the ruling.