Hamsa Yoga is the Jupiter form of the Pancha Mahapurusha yogas, giving wisdom, virtue and respect.
How it forms
Jupiter is in its own sign (Sagittarius or Pisces) or exalted (Cancer) and sits in a kendra from the lagna. Some astrologers also read it from the Moon. Jupiter should be free from combustion and heavy affliction.
Results in life
It gives a pure, kindly nature, good learning, faith, and the respect of good people. Such people often become teachers, advisers, judges, priests or guides, and they tend to enjoy a comfortable, dignified life. It also favours good children and a stable family.
When it gives its results
It is felt most in Jupiter dasha and antardasha, and grows with age as wisdom ripens. Jupiter's transit over its own natal position, about every twelve years, often renews its blessings. A strong Moon helps the yoga show as peace of mind.
When it is weak or cancelled
Combustion, conjunction with Rahu (Guru Chandal) or affliction by Saturn and Mars reduce it. A weak lagna or Moon limits how far it can lift the native. If Jupiter rules the 6th, 8th or 12th for that lagna, its good results come mixed with that house's matters.
A short example
A Cancer lagna native has Jupiter in Cancer in the 1st house. Jupiter is exalted in a kendra, so Hamsa Yoga forms right on the lagna. Such a person may be known for good sense and kindness, and Jupiter dasha may bring a respected advisory role.
Source: Brihat Parashara Hora Shastra (Yoga chapters); Phaladeepika Ch. 6; Saravali; B.V. Raman, Three Hundred Important Combinations (modern reference)