Sha'ar ha Gilgulim is a kabbalistic work on Gilgul, the concept of reincarnation put together by Rabbi Hayyim Vital who recorded the teachings of his master Itzhak Luria in the 16th century CE. Wikipedia
Authors: Hayyim ben Joseph Vital and Isaac Luria