is there any reference to it in ancient times?
Yes, there are many.
Quarantine
The concept of quarantine has been known since biblical times and is known to have been practised through history in various places. Notable quarantines in modern history include that of the village of Eyam in 1665 during the bubonic plague outbreak in England; East Samoa during the 1918 flu pandemic; the Diphtheria outbreak during the 1925 serum run to Nome, the 1972 Yugoslav smallpox outbreak, and extensive quarantines applied throughout the world during the COVID-19 pandemic in 2020.

which agency investigated the death of jimi hendrix? Scotland Yard. what was said in the post mortem report? Hendrix was "well nourished and muscular", and he identified a quarter-inch scar on Hendrix's left wrist. He said that there were "no stigmata of [intravenous] drug addiction. what is the background of his death? On September 11, 1970, Hendrix gave his final interview in his suite at the Cumberland Hotel in London,Hendrix confirmed reports that Billy Cox, the bass player in his band, the Jimi Hendrix Experience, was leaving. where did he die? London. what was his profession? Guitarist/Musician. did he have any addictions? Yes, he did. what were they? LSD, alcohol. which type of music did he play? Rock. what is the role of women in this type of music? Lead singers. how has the recent pandemic affected this music scene? Restrictions, such as quarantine rules, caused widespread cancellations and postponements of concerts, tours, festivals, album releases, award ceremonies, and competitions. Some artists resorted to giving online performances to keep their careers active. what is the meaning of the first restriction mentioned above? It is a restriction on the movement of people and goods which is intended to prevent the spread of disease or pests. what is its psychological impact? Negative psychological effects.
wiki:25658735
Quarantine [SEP] Introduction
Notable quarantines in modern history include that of the village of Eyam in 1665 during the bubonic plague outbreak in England; East Samoa during the 1918 flu pandemic; the Diphtheria outbreak during the 1925 serum run to Nome, the 1972 Yugoslav smallpox outbreak, and extensive quarantines applied throughout the world during the COVID-19 pandemic in 2020. Ethical and practical considerations need to be considered when applying quarantine to people. Practice differs from country to country. In some countries, quarantine is just one of many measures governed by legislation relating to the broader concept of biosecurity; for example Australian biosecurity is governed by the single overarching "Biosecurity Act 2015".