The Book of Scottish Anecdotes states that this verse was inscribed on an Abernethy tombstone. It is not clear if this is the Abernethy in Perthshire or the Abernethy in Inverness-shire.
There is however this wall mounted mural, Elgin Cathedral:
‘HEAR IS THE BURIAL PLACE/APPOINTED FOR JOHN/GEDDES IN ELGIN/AND ISSOBELL/McKEAN HIS SPOUSE/& THEIR RELATIONS/THIS WORLD IS A CITIE/FULL OF STREETS &/DEATH IS THE MERCAT/THAT ALL MEN MEETS/IF LYFE WERE A THING/THAT MONIE COULD/BUY THE POOR COULD/NOT LIVE & THE RICH/WOULD NOT DIE’
This verse also seems to have been recorded on several tombstones in England.
Outside the Scottish Parliament you will find this poem by Mary Brooksbank: