Gel purify DNA fragment on 1% agarose and excise band under UV transilluminator. Always wear eye protection when using the transilluminator as UV light is harmful to your eyes.
Dry the gel slice on 3M paper for a few min. To remove excess buffer.
Place the gel slice into a Pharmacia microspin column (these are designed to fit into microfuge tubes)
Place this column into a microfuge tube (1 mL size) and spin at ~3000 g (5000rpm in Hermle tabletop) for 45 sec.
The DNA is recovered in the eluate. It can be used directly in ligation reactions. Alternatively if you add ammonium acetate and ethanol precipitate it will probably ligate more efficiently.