The widespread practice seems to say the beracha of HagGomel in the presence of a Sefer Torah. Is this a halacha or a minhag? What is the source for this practice?
Furthermore, what is the relationship between the beracha of HagGomel and a Sefer Torah?