Re: istikhara
Peace Lethal
The 7 (as in do istikhara up to 7 occasions) comes from an Authoritative Hanafi Fiqh Book of Ibn Abidin.
Although i cannot confirm whether the number is obtained directly from hadiths on Istikhara or not. It will be a solid position