In the question mentioned above when husband had given three talaqs to his wife, and now he intends to get her back in his nikah again, for this it is necessary that the divorced woman gets married to any other man and they have intercourse and then this man divorces her and then the iddah of this talaq is over, then only this woman shall be halal for her first husband, then if he wishes he can marry her. Without a valid halalah, a woman divorced with three talaqs would not be halal for her first husband, though nikah is done. In this regard the words of your qazi are totally wrong either he does not know the correct ruling or he mistook, and if he tells wrong rulings knowingly this is distortion in religion for which he will be accountable. And it is your responsibility to contact authentic and reliable scholars in order to know Islamic rulings. To ask Islamic rulings to laymen and so called qazis and Mufti is a mistake which is a sin on part of the questioner.
Allah (Subhana Wa Ta’ala) knows Best
Darul Uloom Deoband